Define one element within a substitution group headed by another element. The elements have the type extended from the type of the head element. 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 substgrpexcl00303m3 - Rule out both restriction and extension substitutions (positive case). (valid schema)

FILES

ItemValue
title substgrpexcl00303m3 - Rule out both restriction and extension substitutions (positive case). (valid schema)
name substgrpexcl00303m3
source ../substGrpExcl00303m3.xsd
schemaName ../substGrpExcl00303m3.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName substgrpexcl00303m3.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.substgroupexclusions.substgrpexcl00303m.substgrpexcl00303m3
signature substgrpexcl00303m3.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 ../substGrpExcl00303m3.xsd
schemaName ../substGrpExcl00303m3.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../substGrpExcl00303m3_p.xml -pcontent substgrpexcl00303m3-substGrpExcl00303m3_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.substgroupexclusions.substgrpexcl00303m.substgrpexcl00303m3
document ../substGrpExcl00303m3_p.xml
jb-context substgrpexcl00303m3-substGrpExcl00303m3_p.jbx


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