W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2004

restrictions and cardinality

From: Bryan Rasmussen <brs@itst.dk>
Date: Mon, 27 Sep 2004 13:40:18 +0200
Message-ID: <2292448FDD501C4594181CA35CBA172003B821DB@its42.itst.local>
To: xmlschema-dev@w3.org


Hi given that you are not allowed to restrict cardinality to be less or
greater than the original cardinality then if you have a sequence

<sequence>
<element ref="x:one"/>
<element ref="x:two"/>
<element ref="x:four"/>
</sequence>

and you want to derive from this and somehow achieve at the end of the
derivations a sequence like 
<sequence>
<element ref="x:one"/>
<element ref="x:two"/>
<element ref="y:three"/>
<element ref="x:four"/>
</sequence>

how do you do that?

not allowed, redefines, substitution groups etc. only restriction and
extension.
Received on Monday, 27 September 2004 11:41:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:06 UTC