Define nillable element with content type which requires content. Try nillable=false.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST nillable00101m1 - nillable=false (positive case) (valid schema)
Item | Value |
---|---|
title | nillable00101m1 - nillable=false (positive case) (valid schema) |
name | nillable00101m1 |
source | ../nillable00101m1.xsd |
schemaName | ../nillable00101m1.xsd |
executeClass | com.sun.jaxb_tck.sigtest.JAXBTest |
executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName nillable00101m1.sig -PackageWithoutSubpackages $package |
keywords | schema positive |
package | javasoft.sqe.tests.elemdecl.nillable.nillable00101m.nillable00101m1 |
signature | nillable00101m1.sig |
TEST Positive - nillable=false (positive case) (valid schema)
Item | Value |
---|---|
title | Positive - nillable=false (positive case) (valid schema) |
name | Positive |
source | ../nillable00101m1.xsd |
schemaName | ../nillable00101m1.xsd |
executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest |
executeArgs | -TestURL $testURL -package $package -out :ref -document ../nillable00101m1_p.xml -pcontent nillable00101m1-nillable00101m1_p.jbx |
keywords | positive document |
package | javasoft.sqe.tests.elemdecl.nillable.nillable00101m.nillable00101m1 |
document | ../nillable00101m1_p.xml |
jb-context | nillable00101m1-nillable00101m1_p.jbx |