Declare an element. Define a key identity constraint. Define another key identity constraint with the same name. Check that the schema is invalid.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions
TEST name00101m2 - In one namespace Identity-constraint definition names must be unique: the names are KEY1 and KEY1 (invalid schema)
| Item | Value |
|---|---|
| title | name00101m2 - In one namespace Identity-constraint definition names must be unique: the names are KEY1 and KEY1 (invalid schema) |
| name | name00101m2 |
| source | ../name00101m2.xsd |
| schemaName | ../name00101m2.xsd |
| keywords | schema negative |
| package | javasoft.sqe.tests.idconstrdefs.name.name00101m.name00101m2 |