min=max=0 (Erratum E1-5)

<complexType>
  <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
all.

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.

Thanks,
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
sandygao@ca.ibm.com

Received on Monday, 27 January 2003 14:51:58 UTC