If there is a fixed {value constraint} the element information item must have no element information item children.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST valueconstraint00701m1 - fixed value constraint forbids element children (valid schema)
| Item | Value |
|---|---|
| title | valueconstraint00701m1 - fixed value constraint forbids element children (valid schema) |
| name | valueconstraint00701m1 |
| source | ../valueConstraint00701m1.xsd |
| schemaName | ../valueConstraint00701m1.xsd |
| executeClass | com.sun.jaxb_tck.sigtest.JAXBTest |
| executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName valueconstraint00701m1.sig -PackageWithoutSubpackages $package |
| keywords | schema positive |
| package | javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint00701m.valueconstraint00701m1 |
| signature | valueconstraint00701m1.sig |
TEST Positive - fixed value constraint forbids element children (valid schema)
| Item | Value |
|---|---|
| title | Positive - fixed value constraint forbids element children (valid schema) |
| name | Positive |
| source | ../valueConstraint00701m1.xsd |
| schemaName | ../valueConstraint00701m1.xsd |
| executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest |
| executeArgs | -TestURL $testURL -package $package -out :ref -document ../valueConstraint00701m1_p.xml -pcontent valueconstraint00701m1-valueConstraint00701m1_p.jbx |
| keywords | positive document |
| package | javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint00701m.valueconstraint00701m1 |
| document | ../valueConstraint00701m1_p.xml |
| jb-context | valueconstraint00701m1-valueConstraint00701m1_p.jbx |