Define an element with the default type. Define another element of type anyType. Ensure the anyType element may substitute for the default type one.

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


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

FILES

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


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

FILES

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


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