Define one global element and one local. Omit minOccurs attribute. Check that the value of the {minOccurs} property is 1.

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


TEST minoccurs00101m - Default value of the {minOccurs} property. (valid schema)

FILES

ItemValue
title minoccurs00101m - Default value of the {minOccurs} property. (valid schema)
name minoccurs00101m
source ../minOccurs00101m.xsd
schemaName ../minOccurs00101m.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName minoccurs00101m.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.minoccurs.minoccurs00101m.minoccurs00101m
signature minoccurs00101m.sig


TEST minOccurs00101m1_p - Default value of the {minOccurs} property. (valid schema)

FILES

ItemValue
title minOccurs00101m1_p - Default value of the {minOccurs} property. (valid schema)
name minOccurs00101m1_p
source ../minOccurs00101m.xsd
schemaName ../minOccurs00101m.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../minOccurs00101m1_p.xml -pcontent minoccurs00101m-minOccurs00101m1_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.minoccurs.minoccurs00101m.minoccurs00101m
document ../minOccurs00101m1_p.xml
jb-context minoccurs00101m-minOccurs00101m1_p.jbx


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