Attribute declared with global scope can be referenced in any declaration in the schema.

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


TEST ad_scope00101m1 - Attribute declared with global scope (valid schema)

FILES

ItemValue
title ad_scope00101m1 - Attribute declared with global scope (valid schema)
name ad_scope00101m1
source ../AD_scope00101m1.xsd
schemaName ../AD_scope00101m1.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName ad_scope00101m1.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.attrdecl.ad_scope.ad_scope00101m.ad_scope00101m1
signature ad_scope00101m1.sig


TEST Positive - Attribute declared with global scope (valid schema)

FILES

ItemValue
title Positive - Attribute declared with global scope (valid schema)
name Positive
source ../AD_scope00101m1.xsd
schemaName ../AD_scope00101m1.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../AD_scope00101m1_p.xml -pcontent ad_scope00101m1-AD_scope00101m1_p.jbx
keywords positive document
package javasoft.sqe.tests.attrdecl.ad_scope.ad_scope00101m.ad_scope00101m1
document ../AD_scope00101m1_p.xml
jb-context ad_scope00101m1-AD_scope00101m1_p.jbx


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