Declare an element. Set type="answer" default="false". The content type of type answer allows only "true". Check that the schema is invalid.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST valueconstraint00401m8 - invalid default value is set for a simple type (invalid schema)
| Item | Value |
|---|---|
| title | valueconstraint00401m8 - invalid default value is set for a simple type (invalid schema) |
| name | valueconstraint00401m8 |
| source | ../valueConstraint00401m8.xsd |
| schemaName | ../valueConstraint00401m8.xsd |
| keywords | schema negative |
| package | javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint00401m.valueconstraint00401m8 |