Declare a non-nillable element. Try xsi:nil="true".The test is negative.

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


TEST nillable00201m - nillable=false and xsi:nil=true (valid schema)

FILES

ItemValue
title nillable00201m - nillable=false and xsi:nil=true (valid schema)
name nillable00201m
source ../nillable00201m.xsd
schemaName ../nillable00201m.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName nillable00201m.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.nillable.nillable00201m.nillable00201m
signature nillable00201m.sig


TEST nillable00201m3_p - nillable=false and xsi:nil=true (valid schema)

FILES

ItemValue
title nillable00201m3_p - nillable=false and xsi:nil=true (valid schema)
name nillable00201m3_p
source ../nillable00201m.xsd
schemaName ../nillable00201m.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../nillable00201m3_p.xml -pcontent nillable00201m-nillable00201m3_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.nillable.nillable00201m.nillable00201m
document ../nillable00201m3_p.xml
jb-context nillable00201m-nillable00201m3_p.jbx


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