Define an element. Set default="1" fixed="0". Check that the schema is invalid.

http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations


TEST valueconstraint00301m5 - default and fixed have different values 1 and 0 respectively (invalid schema)

FILES

ItemValue
title valueconstraint00301m5 - default and fixed have different values 1 and 0 respectively (invalid schema)
name valueconstraint00301m5
source ../valueConstraint00301m5.xsd
schemaName ../valueConstraint00301m5.xsd
keywords schema negative
package javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint00301m.valueconstraint00301m5


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