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 default value is invalid for the local type definition.

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


TEST valueconstraint00501m6 - default value is invalid for the local type definition (valid schema)

FILES

ItemValue
title valueconstraint00501m6 - default value is invalid for the local type definition (valid schema)
name valueconstraint00501m6
source ../valueConstraint00501m6.xsd
schemaName ../valueConstraint00501m6.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName valueconstraint00501m6.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint00501m.valueconstraint00501m6
signature valueconstraint00501m6.sig


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