Declare an element. Set type="answer" default="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 valueconstraint00401m6 - invalid default value is set for a complex type with a simple content (invalid schema)
| Item | Value | 
|---|---|
| title | valueconstraint00401m6 - invalid default value is set for a complex type with a simple content (invalid schema) | 
| name | valueconstraint00401m6 | 
| source | ../valueConstraint00401m6.xsd | 
| schemaName | ../valueConstraint00401m6.xsd | 
| keywords | schema negative | 
| package | javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint00401m.valueconstraint00401m6 |