Declare one local element that refers to a global one. Check that the element is validated according to the type of the referred element.

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


TEST term00101m - The (top-level) element declaration resolved to by the actual value of the ref attribute. (valid schema)

FILES

ItemValue
title term00101m - The (top-level) element declaration resolved to by the actual value of the ref attribute. (valid schema)
name term00101m
source ../term00101m.xsd
schemaName ../term00101m.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName term00101m.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.term.term00101m.term00101m
signature term00101m.sig


TEST term00101m1_p - The (top-level) element declaration resolved to by the actual value of the ref attribute. (valid schema)

FILES

ItemValue
title term00101m1_p - The (top-level) element declaration resolved to by the actual value of the ref attribute. (valid schema)
name term00101m1_p
source ../term00101m.xsd
schemaName ../term00101m.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../term00101m1_p.xml -pcontent term00101m-term00101m1_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.term.term00101m.term00101m
document ../term00101m1_p.xml
jb-context term00101m-term00101m1_p.jbx


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