Define an element within a substitution group headed by another element which is abstract. The elements have the same type. Try to substitute the head element with the first one. Try to use the head itself.

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


TEST abstract00101m - Abstract declarations may not be used to validate element content. (valid schema)

FILES

ItemValue
title abstract00101m - Abstract declarations may not be used to validate element content. (valid schema)
name abstract00101m
source ../abstract00101m.xsd
schemaName ../abstract00101m.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName abstract00101m.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl._abstract.abstract00101m.abstract00101m
signature abstract00101m.sig


TEST abstract00101m1_p - Abstract declarations may not be used to validate element content. (valid schema)

FILES

ItemValue
title abstract00101m1_p - Abstract declarations may not be used to validate element content. (valid schema)
name abstract00101m1_p
source ../abstract00101m.xsd
schemaName ../abstract00101m.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../abstract00101m1_p.xml -pcontent abstract00101m-abstract00101m1_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl._abstract.abstract00101m.abstract00101m
document ../abstract00101m1_p.xml
jb-context abstract00101m-abstract00101m1_p.jbx


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