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