Declare a global element with a certain type. Declare another element. Specify the type by reference. Ensure the value is validated according to the type.

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


TEST typedef00301m - The {type definition} property is specified by reference. (valid schema)

FILES

ItemValue
title typedef00301m - The {type definition} property is specified by reference. (valid schema)
name typedef00301m
source ../typeDef00301m.xsd
schemaName ../typeDef00301m.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName typedef00301m.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.typedef.typedef00301m.typedef00301m
signature typedef00301m.sig


TEST typeDef00301m1_p - The {type definition} property is specified by reference. (valid schema)

FILES

ItemValue
title typeDef00301m1_p - The {type definition} property is specified by reference. (valid schema)
name typeDef00301m1_p
source ../typeDef00301m.xsd
schemaName ../typeDef00301m.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../typeDef00301m1_p.xml -pcontent typedef00301m-typeDef00301m1_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.typedef.typedef00301m.typedef00301m
document ../typeDef00301m1_p.xml
jb-context typedef00301m-typeDef00301m1_p.jbx


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