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