Set the form attribute of the local element declaration to unqualified . Omit the elementFormDefault attribute.

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


TEST targetns00301m2 - The form attribute is set to unqualified. The elementFormDefault attribute is omitted. (valid schema)

FILES

ItemValue
title targetns00301m2 - The form attribute is set to unqualified. The elementFormDefault attribute is omitted. (valid schema)
name targetns00301m2
source ../targetNS00301m2.xsd
schemaName ../targetNS00301m2.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName targetns00301m2.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.targetns.targetns00301m.targetns00301m2
signature targetns00301m2.sig


TEST Positive - The form attribute is set to unqualified. The elementFormDefault attribute is omitted. (valid schema)

FILES

ItemValue
title Positive - The form attribute is set to unqualified. The elementFormDefault attribute is omitted. (valid schema)
name Positive
source ../targetNS00301m2.xsd
schemaName ../targetNS00301m2.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../targetNS00301m2_p.xml -pcontent targetns00301m2-targetNS00301m2_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.targetns.targetns00301m.targetns00301m2
document ../targetNS00301m2_p.xml
jb-context targetns00301m2-targetNS00301m2_p.jbx


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