Define an element within a substitution group headed by another element. The first element has a type extended from the type of the head. Block (disallow) an extension of the head. Try to substitute the head element with the first one.

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


TEST disallowedsubst00105m - Blocking any extension. (valid schema)

FILES

ItemValue
title disallowedsubst00105m - Blocking any extension. (valid schema)
name disallowedsubst00105m
source ../disallowedSubst00105m.xsd
schemaName ../disallowedSubst00105m.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName disallowedsubst00105m.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.disallowedsubst.disallowedsubst00105m.disallowedsubst00105m
signature disallowedsubst00105m.sig


TEST disallowedSubst00105m1_p - Blocking any extension. (valid schema)

FILES

ItemValue
title disallowedSubst00105m1_p - Blocking any extension. (valid schema)
name disallowedSubst00105m1_p
source ../disallowedSubst00105m.xsd
schemaName ../disallowedSubst00105m.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../disallowedSubst00105m1_p.xml -pcontent disallowedsubst00105m-disallowedSubst00105m1_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.disallowedsubst.disallowedsubst00105m.disallowedsubst00105m
document ../disallowedSubst00105m1_p.xml
jb-context disallowedsubst00105m-disallowedSubst00105m1_p.jbx


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