Define an element by means of the substitutionGroup attribute. Ensure the value is validated according to the type.

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


TEST typedef00204m - type attribute is used to define {type definition} property. (valid schema)

FILES

ItemValue
title typedef00204m - type attribute is used to define {type definition} property. (valid schema)
name typedef00204m
source ../typeDef00204m.xsd
schemaName ../typeDef00204m.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName typedef00204m.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.typedef.typedef00204m.typedef00204m
signature typedef00204m.sig


TEST typeDef00204m1_p - type attribute is used to define {type definition} property. (valid schema)

FILES

ItemValue
title typeDef00204m1_p - type attribute is used to define {type definition} property. (valid schema)
name typeDef00204m1_p
source ../typeDef00204m.xsd
schemaName ../typeDef00204m.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../typeDef00204m1_p.xml -pcontent typedef00204m-typeDef00204m1_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.typedef.typedef00204m.typedef00204m
document ../typeDef00204m1_p.xml
jb-context typedef00204m-typeDef00204m1_p.jbx


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