Omit the form attribute of the local element declaration. Omit the elementFormDefault attribute.

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


TEST targetns00301m3 - Both the form and elementFormDefault attributes are omitted. (valid schema)

FILES

ItemValue
title targetns00301m3 - Both the form and elementFormDefault attributes are omitted. (valid schema)
name targetns00301m3
source ../targetNS00301m3.xsd
schemaName ../targetNS00301m3.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName targetns00301m3.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.targetns.targetns00301m.targetns00301m3
signature targetns00301m3.sig


TEST Positive - Both the form and elementFormDefault attributes are omitted. (valid schema)

FILES

ItemValue
title Positive - Both the form and elementFormDefault attributes are omitted. (valid schema)
name Positive
source ../targetNS00301m3.xsd
schemaName ../targetNS00301m3.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../targetNS00301m3_p.xml -pcontent targetns00301m3-targetNS00301m3_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.targetns.targetns00301m.targetns00301m3
document ../targetNS00301m3_p.xml
jb-context targetns00301m3-targetNS00301m3_p.jbx


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