Declare an element with unique . Set its ref attribute. Check that the schema is invalid.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST name00504m4 - element declaration with unique when ref attribute is used (invalid schema)
Item | Value |
---|---|
title | name00504m4 - element declaration with unique when ref attribute is used (invalid schema) |
name | name00504m4 |
source | ../name00504m4.xsd |
schemaName | ../name00504m4.xsd |
keywords | schema negative |
package | javasoft.sqe.tests.elemdecl.name.name00504m.name00504m4 |