Define one element within a substitution group headed by another element. The elements have the same type. Try to rule out both restriction and extension by means of {substitution group exclusions} property of the head element declaration. Try to substitute the head with the first element.

http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations


TEST substgrpexcl00301m1 - Rule out both restriction and extension substitutions (positive case). (valid schema)

FILES

ItemValue
title substgrpexcl00301m1 - Rule out both restriction and extension substitutions (positive case). (valid schema)
name substgrpexcl00301m1
source ../substGrpExcl00301m1.xsd
schemaName ../substGrpExcl00301m1.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName substgrpexcl00301m1.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.substgroupexclusions.substgrpexcl00301m.substgrpexcl00301m1
signature substgrpexcl00301m1.sig


TEST Positive - Rule out both restriction and extension substitutions (positive case). (valid schema)

FILES

ItemValue
title Positive - Rule out both restriction and extension substitutions (positive case). (valid schema)
name Positive
source ../substGrpExcl00301m1.xsd
schemaName ../substGrpExcl00301m1.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../substGrpExcl00301m1_p.xml -pcontent substgrpexcl00301m1-substGrpExcl00301m1_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.substgroupexclusions.substgrpexcl00301m.substgrpexcl00301m1
document ../substGrpExcl00301m1_p.xml
jb-context substgrpexcl00301m1-substGrpExcl00301m1_p.jbx


%Copyright% © 2017, 2020 Oracle and/or its affiliates. All rights reserved.