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

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


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

FILES

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


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

FILES

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


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