W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > January 2007

[Bug 4139] MS ModelGroups test mgH014

From: <bugzilla@wiggum.w3.org>
Date: Wed, 24 Jan 2007 02:07:19 +0000
CC:
To: public-xml-schema-testsuite@w3.org
Message-Id: <E1H9XXj-0006gL-0l@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4139





------- Comment #1 from zafara@microsoft.com  2007-01-24 02:07 -------
Under Element Declaration Schema Component [1], the spec says if the
maxOccurs=minOccurs=0 for that element declaration that the schema component
does not correspond to any component. In the test case you mentioned, the
element e1 in the derived type (foo) has such a declaration for e1 inside the
choice, e1 plays no part in the choice and should be stripped off the content
model and it thus makes the choice non-emptiable and a valid restriction of
bar.

[1]
http://www.w3.org/TR/2004/PER-xmlschema-1-20040318/structures-with-errata.html#Element_Declaration_details
Received on Wednesday, 24 January 2007 02:07:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:56 GMT