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