If the declaration has a {value constraint}, the item has neither element nor character [children] and xsi:nil is not specified, the actual type definition is a local type definition then the lexical representation of the {value constraint} value must be a valid default for the actual type definition . In the test the fixed value is valid.

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


TEST valueconstraint00501m2 - fixed value is valid (valid schema)

FILES

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


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