The blocking constraint must not contain substitution for an element declaration to be validly substituteable for another element declaration. In the test any substitution for element Head is disallowed.

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


TEST disallowedsubst00401m2 - substitution is disallowed (valid schema)

FILES

ItemValue
title disallowedsubst00401m2 - substitution is disallowed (valid schema)
name disallowedsubst00401m2
source ../disallowedSubst00401m2.xsd
schemaName ../disallowedSubst00401m2.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName disallowedsubst00401m2.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.disallowedsubst.disallowedsubst00401m.disallowedsubst00401m2
signature disallowedsubst00401m2.sig


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