Declare an element using type . Declare another element with a simpleType . Set type attribute of the element. Ensure the schema is invalid.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST typedef00502m2 - simpleType and type are mutually exclusive (invalid schema)
| Item | Value |
|---|---|
| title | typedef00502m2 - simpleType and type are mutually exclusive (invalid schema) |
| name | typedef00502m2 |
| source | ../typeDef00502m2.xsd |
| schemaName | ../typeDef00502m2.xsd |
| keywords | schema negative |
| package | javasoft.sqe.tests.elemdecl.typedef.typedef00502m.typedef00502m2 |