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 valid.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST valueconstraint00501m4 - default value is valid (valid schema)
Item | Value |
---|---|
title | valueconstraint00501m4 - default value is valid (valid schema) |
name | valueconstraint00501m4 |
source | ../valueConstraint00501m4.xsd |
schemaName | ../valueConstraint00501m4.xsd |
executeClass | com.sun.jaxb_tck.sigtest.JAXBTest |
executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName valueconstraint00501m4.sig -PackageWithoutSubpackages $package |
keywords | schema positive |
package | javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint00501m.valueconstraint00501m4 |
signature | valueconstraint00501m4.sig |