Define a uniqueness identity constraint with two fields. Ensure that the constraint prevents one pair of values to be defined twice.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST idconstrdefs00203m - there must be no uniqueness violations (valid schema)
| Item | Value | 
|---|---|
| title | idconstrdefs00203m - there must be no uniqueness violations (valid schema) | 
| name | idconstrdefs00203m | 
| source | ../idConstrDefs00203m.xsd | 
| schemaName | ../idConstrDefs00203m.xsd | 
| executeClass | com.sun.jaxb_tck.sigtest.JAXBTest | 
| executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName idconstrdefs00203m.sig -PackageWithoutSubpackages $package | 
| keywords | schema positive | 
| package | javasoft.sqe.tests.elemdecl.identityconstraintdefs.idconstrdefs00203m.idconstrdefs00203m | 
| signature | idconstrdefs00203m.sig | 
TEST idConstrDefs00203m1_p - there must be no uniqueness violations (valid schema)
| Item | Value | 
|---|---|
| title | idConstrDefs00203m1_p - there must be no uniqueness violations (valid schema) | 
| name | idConstrDefs00203m1_p | 
| source | ../idConstrDefs00203m.xsd | 
| schemaName | ../idConstrDefs00203m.xsd | 
| executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest | 
| executeArgs | -TestURL $testURL -package $package -out :ref -document ../idConstrDefs00203m1_p.xml -pcontent idconstrdefs00203m-idConstrDefs00203m1_p.jbx | 
| keywords | positive document | 
| package | javasoft.sqe.tests.elemdecl.identityconstraintdefs.idconstrdefs00203m.idconstrdefs00203m | 
| document | ../idConstrDefs00203m1_p.xml | 
| jb-context | idconstrdefs00203m-idConstrDefs00203m1_p.jbx |