Declare an element using type . Declare another element with a simpleType . Ensure the schema is valid

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


TEST typedef00502m1 - simpleType and type are mutually exclusive (valid schema)

FILES

ItemValue
title typedef00502m1 - simpleType and type are mutually exclusive (valid schema)
name typedef00502m1
source ../typeDef00502m1.xsd
schemaName ../typeDef00502m1.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName typedef00502m1.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.typedef.typedef00502m.typedef00502m1
signature typedef00502m1.sig


TEST Positive - simpleType and type are mutually exclusive (valid schema)

FILES

ItemValue
title Positive - simpleType and type are mutually exclusive (valid schema)
name Positive
source ../typeDef00502m1.xsd
schemaName ../typeDef00502m1.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../typeDef00502m1_p.xml -pcontent typedef00502m1-typeDef00502m1_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.typedef.typedef00502m.typedef00502m1
document ../typeDef00502m1_p.xml
jb-context typedef00502m1-typeDef00502m1_p.jbx


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