Declare a nillable element. The the second variant declares the element to have fixed value.

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


TEST nillable00401m2 - there may be a fixed {value constraint} along with nillable set to true (valid schema)

FILES

ItemValue
title nillable00401m2 - there may be a fixed {value constraint} along with nillable set to true (valid schema)
name nillable00401m2
source ../nillable00401m2.xsd
schemaName ../nillable00401m2.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName nillable00401m2.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.nillable.nillable00401m.nillable00401m2
signature nillable00401m2.sig


TEST Positive - there may be a fixed {value constraint} along with nillable set to true (valid schema)

FILES

ItemValue
title Positive - there may be a fixed {value constraint} along with nillable set to true (valid schema)
name Positive
source ../nillable00401m2.xsd
schemaName ../nillable00401m2.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../nillable00401m2_p.xml -pcontent nillable00401m2-nillable00401m2_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.nillable.nillable00401m.nillable00401m2
document ../nillable00401m2_p.xml
jb-context nillable00401m2-nillable00401m2_p.jbx


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