W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2003

min=max=0 (Erratum E1-5)

From: <sandygao@ca.ibm.com>
Date: Mon, 27 Jan 2003 14:51:11 -0500
To: www-xml-schema-comments@w3.org
Message-ID: <OFA0AE2A4A.F45AD1E7-ON85256CBB.006CF547@torolab.ibm.com>

  <sequence min=max=0>
    <element .../>

What's the content type of the above type?

According to E1-5, because there IS a sequence with an element child, the
effective content is not empty, but the particle corresponding to the
sequence. But according to 3.8.2, min=max=0 corresponds to no component at

Shouldn't 1.1 of the definition of effective content in E1-5 be changed to:
1.1 There is no <group>, <all>, <choice> or <sequence> among the
[children], which either doesn't have a maxOccur attribute, or the actual
value of such attribute is not 0.

Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
Received on Monday, 27 January 2003 14:51:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:59 UTC