Define an element within a substitution group headed by another element. The elements have the same type. Block (disallow) a substitution of the head. Try to substitute the head element with the first one.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST disallowedsubst00102m1 - Blocking any substitution (positive case) (valid schema)
| Item | Value |
|---|---|
| title | disallowedsubst00102m1 - Blocking any substitution (positive case) (valid schema) |
| name | disallowedsubst00102m1 |
| source | ../disallowedSubst00102m1.xsd |
| schemaName | ../disallowedSubst00102m1.xsd |
| executeClass | com.sun.jaxb_tck.sigtest.JAXBTest |
| executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName disallowedsubst00102m1.sig -PackageWithoutSubpackages $package |
| keywords | schema positive |
| package | javasoft.sqe.tests.elemdecl.disallowedsubst.disallowedsubst00102m.disallowedsubst00102m1 |
| signature | disallowedsubst00102m1.sig |
TEST Positive - Blocking any substitution (positive case) (valid schema)
| Item | Value |
|---|---|
| title | Positive - Blocking any substitution (positive case) (valid schema) |
| name | Positive |
| source | ../disallowedSubst00102m1.xsd |
| schemaName | ../disallowedSubst00102m1.xsd |
| executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest |
| executeArgs | -TestURL $testURL -package $package -out :ref -document ../disallowedSubst00102m1_p.xml -pcontent disallowedsubst00102m1-disallowedSubst00102m1_p.jbx |
| keywords | positive document |
| package | javasoft.sqe.tests.elemdecl.disallowedsubst.disallowedsubst00102m.disallowedsubst00102m1 |
| document | ../disallowedSubst00102m1_p.xml |
| jb-context | disallowedsubst00102m1-disallowedSubst00102m1_p.jbx |