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 disallowedsubst00101m - Blocking any substitution. (valid schema)
| Item | Value |
|---|---|
| title | disallowedsubst00101m - Blocking any substitution. (valid schema) |
| name | disallowedsubst00101m |
| source | ../disallowedSubst00101m.xsd |
| schemaName | ../disallowedSubst00101m.xsd |
| executeClass | com.sun.jaxb_tck.sigtest.JAXBTest |
| executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName disallowedsubst00101m.sig -PackageWithoutSubpackages $package |
| keywords | schema positive |
| package | javasoft.sqe.tests.elemdecl.disallowedsubst.disallowedsubst00101m.disallowedsubst00101m |
| signature | disallowedsubst00101m.sig |
TEST disallowedSubst00101m1_p - Blocking any substitution. (valid schema)
| Item | Value |
|---|---|
| title | disallowedSubst00101m1_p - Blocking any substitution. (valid schema) |
| name | disallowedSubst00101m1_p |
| source | ../disallowedSubst00101m.xsd |
| schemaName | ../disallowedSubst00101m.xsd |
| executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest |
| executeArgs | -TestURL $testURL -package $package -out :ref -document ../disallowedSubst00101m1_p.xml -pcontent disallowedsubst00101m-disallowedSubst00101m1_p.jbx |
| keywords | positive document |
| package | javasoft.sqe.tests.elemdecl.disallowedsubst.disallowedsubst00101m.disallowedsubst00101m |
| document | ../disallowedSubst00101m1_p.xml |
| jb-context | disallowedsubst00101m-disallowedSubst00101m1_p.jbx |