Define an element within a substitution group of another one. Then the last one within another group. Check the following: 1. the first element substitutes the element of the second group 2. the second element doesn't substitute the first one

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


TEST substgrpaffil00201m - Substitution group memebership is transitive but not symmetric. (valid schema)

FILES

ItemValue
title substgrpaffil00201m - Substitution group memebership is transitive but not symmetric. (valid schema)
name substgrpaffil00201m
source ../substGrpAffil00201m.xsd
schemaName ../substGrpAffil00201m.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName substgrpaffil00201m.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.substgroupaffilation.substgrpaffil00201m.substgrpaffil00201m
signature substgrpaffil00201m.sig


TEST substGrpAffil00201m1_p - Substitution group memebership is transitive but not symmetric. (valid schema)

FILES

ItemValue
title substGrpAffil00201m1_p - Substitution group memebership is transitive but not symmetric. (valid schema)
name substGrpAffil00201m1_p
source ../substGrpAffil00201m.xsd
schemaName ../substGrpAffil00201m.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../substGrpAffil00201m1_p.xml -pcontent substgrpaffil00201m-substGrpAffil00201m1_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.substgroupaffilation.substgrpaffil00201m.substgrpaffil00201m
document ../substGrpAffil00201m1_p.xml
jb-context substgrpaffil00201m-substGrpAffil00201m1_p.jbx


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