Declare an element with unique . Check that the schema is valid.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST name00504m3 - element declaration with unique (valid schema)
| Item | Value | 
|---|---|
| title | name00504m3 - element declaration with unique (valid schema) | 
| name | name00504m3 | 
| source | ../name00504m3.xsd | 
| schemaName | ../name00504m3.xsd | 
| executeClass | com.sun.jaxb_tck.sigtest.JAXBTest | 
| executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName name00504m3.sig -PackageWithoutSubpackages $package | 
| keywords | schema positive | 
| package | javasoft.sqe.tests.elemdecl.name.name00504m.name00504m3 | 
| signature | name00504m3.sig | 
TEST Positive - element declaration with unique (valid schema)
| Item | Value | 
|---|---|
| title | Positive - element declaration with unique (valid schema) | 
| name | Positive | 
| source | ../name00504m3.xsd | 
| schemaName | ../name00504m3.xsd | 
| executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest | 
| executeArgs | -TestURL $testURL -package $package -out :ref -document ../name00504m3_p.xml -pcontent name00504m3-name00504m3_p.jbx | 
| keywords | positive document | 
| package | javasoft.sqe.tests.elemdecl.name.name00504m.name00504m3 | 
| document | ../name00504m3_p.xml | 
| jb-context | name00504m3-name00504m3_p.jbx |