For a string to be a valid default with respect to a type definition, if the type definition is a simple type definition, then the string must be valid with respect to that definition. In the test the fixed value is valid.

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


TEST valueconstraint01101m1 - fixed value is valid (valid schema)

FILES

ItemValue
title valueconstraint01101m1 - fixed value is valid (valid schema)
name valueconstraint01101m1
source ../valueConstraint01101m1.xsd
schemaName ../valueConstraint01101m1.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName valueconstraint01101m1.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint01101m.valueconstraint01101m1
signature valueconstraint01101m1.sig


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