Declare an element. Set type="answer" fixed="Yes". The content type of type answer is boolean . Check that the schema is invalid.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST valueconstraint00402m6 - invalid fixed value is set for a complex type with a simple content (invalid schema)
| Item | Value |
|---|---|
| title | valueconstraint00402m6 - invalid fixed value is set for a complex type with a simple content (invalid schema) |
| name | valueconstraint00402m6 |
| source | ../valueConstraint00402m6.xsd |
| schemaName | ../valueConstraint00402m6.xsd |
| keywords | schema negative |
| package | javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint00402m.valueconstraint00402m6 |