- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 24 Jan 2007 02:07:19 +0000
- To: public-xml-schema-testsuite@w3.org
- CC:
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 UTC