Declare a local element with a reference to a global one. 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 minoccurs00201m - Default value of the {minOccurs} property when the ref attribute is used. (valid schema)

FILES

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


TEST minOccurs00201m1_p - Default value of the {minOccurs} property when the ref attribute is used. (valid schema)

FILES

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


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