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 disallowedsubst00106m2 - Blocking any extension (negative case) (valid schema)

FILES

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


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