Declare an element. Set ref="Main" maxOccurs="unbounded". Check that the schema is valid.

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


TEST name00501m14 - maxOccurs and ref are present (valid schema)

FILES

ItemValue
title name00501m14 - maxOccurs and ref are present (valid schema)
name name00501m14
source ../name00501m14.xsd
schemaName ../name00501m14.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName name00501m14.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.name.name00501m.name00501m14
signature name00501m14.sig


TEST Positive - maxOccurs and ref are present (valid schema)

FILES

ItemValue
title Positive - maxOccurs and ref are present (valid schema)
name Positive
source ../name00501m14.xsd
schemaName ../name00501m14.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../name00501m14_p.xml -pcontent name00501m14-name00501m14_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.name.name00501m.name00501m14
document ../name00501m14_p.xml
jb-context name00501m14-name00501m14_p.jbx


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