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)
Item | Value |
---|---|
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 |