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)

FILES

ItemValue
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


%Copyright% © 2017, 2020 Oracle and/or its affiliates. All rights reserved.