Declare an attribute of a type derived from ID. Ensure that two element information items may not have that attributes with the same values.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST idconstrdefs00501m - there must be no multiply-defined ID (valid schema)
Item | Value |
---|---|
title | idconstrdefs00501m - there must be no multiply-defined ID (valid schema) |
name | idconstrdefs00501m |
source | ../idConstrDefs00501m.xsd |
schemaName | ../idConstrDefs00501m.xsd |
executeClass | com.sun.jaxb_tck.sigtest.JAXBTest |
executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName idconstrdefs00501m.sig -PackageWithoutSubpackages $package |
keywords | schema positive |
package | javasoft.sqe.tests.elemdecl.identityconstraintdefs.idconstrdefs00501m.idconstrdefs00501m |
signature | idconstrdefs00501m.sig |
TEST idConstrDefs00501m1_p - there must be no multiply-defined ID (valid schema)
Item | Value |
---|---|
title | idConstrDefs00501m1_p - there must be no multiply-defined ID (valid schema) |
name | idConstrDefs00501m1_p |
source | ../idConstrDefs00501m.xsd |
schemaName | ../idConstrDefs00501m.xsd |
executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest |
executeArgs | -TestURL $testURL -package $package -out :ref -document ../idConstrDefs00501m1_p.xml -pcontent idconstrdefs00501m-idConstrDefs00501m1_p.jbx |
keywords | positive document |
package | javasoft.sqe.tests.elemdecl.identityconstraintdefs.idconstrdefs00501m.idconstrdefs00501m |
document | ../idConstrDefs00501m1_p.xml |
jb-context | idconstrdefs00501m-idConstrDefs00501m1_p.jbx |