Define three elements within one substitution group. The first has the same type, the second is derived as restriction and the third derived as extension. All the elments are the memebers of the substitution group. Try to rule out extension by means of {substitution group exclusions} property of the head element declaration.

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


TEST substgrpexcl00202m2 - Rule out extension substitutions (negative case). (invalid schema)

FILES

ItemValue
title substgrpexcl00202m2 - Rule out extension substitutions (negative case). (invalid schema)
name substgrpexcl00202m2
source ../substGrpExcl00202m2.xsd
schemaName ../substGrpExcl00202m2.xsd
keywords schema negative
package javasoft.sqe.tests.elemdecl.substgroupexclusions.substgrpexcl00202m.substgrpexcl00202m2


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