Declare an element. Set type="answer" fixed="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 valueconstraint00402m8 - invalid fixed value is set for a simple type (invalid schema)
Item | Value |
---|---|
title | valueconstraint00402m8 - invalid fixed value is set for a simple type (invalid schema) |
name | valueconstraint00402m8 |
source | ../valueConstraint00402m8.xsd |
schemaName | ../valueConstraint00402m8.xsd |
keywords | schema negative |
package | javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint00402m.valueconstraint00402m8 |