Declare an element root . Use element information item with respect to the element declaration. The negative case uses undeclared element.

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


TEST name00601m - The declaration must not be absent (valid schema)

FILES

ItemValue
title name00601m - The declaration must not be absent (valid schema)
name name00601m
source ../name00601m.xsd
schemaName ../name00601m.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName name00601m.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.name.name00601m.name00601m
signature name00601m.sig


TEST name00601m1_p - The declaration must not be absent (valid schema)

FILES

ItemValue
title name00601m1_p - The declaration must not be absent (valid schema)
name name00601m1_p
source ../name00601m.xsd
schemaName ../name00601m.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../name00601m1_p.xml -pcontent name00601m-name00601m1_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.name.name00601m.name00601m
document ../name00601m1_p.xml
jb-context name00601m-name00601m1_p.jbx


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