W3C home > Mailing lists > Public > xml-editor@w3.org > April to June 1999

Re: Error in the XML 1.0 Recommendation (REC-xml-19980210)

From: C M Sperberg-McQueen <cmsmcq@acm.org>
Date: Sun, 18 Apr 1999 15:05:03 -0500
Message-Id: <199904182005.PAA438408@tigger.cc.uic.edu>
To: d96-mst@d.kth.se
CC: xml-editor@w3.org, cmsmcq@acm.org
>From: d96-mst@d.kth.se (Mikael Ståldal)
>Date: Wed, 14 Apr 1999 22:42:54 +0100

>I think I have found an error in the XML 1.0 recommendation (and it's
>not listed in the latest errata).
>
>The grammar for Element-content models (productions 47-50) seems to be
>ambiguous. The input
>
>'(' cp ')'
>
>matches both [49] and [50]. This can be fixed by replacing the * with
>an + in one of the productions. I suggest changing [49] because I think
>it makes more sense for one object to be a sequence than to be a
>choice.

I agree that this is an error; it was introduced by mistake in an
attempt to avoid explaining what otherwise looks like an inconsistency
between the two productions.  A particle with a single member should
indeed be grammatically a sequence.

My co-editors, on the other hand, are not guaranteed to agree with this
analysis.

-C. M. Sperberg-McQueen
 Senior Research Programmer, University of Illinois at Chicago
 Editor, ACH/ACL/ALLC Text Encoding Initiative
Received on Sunday, 18 April 1999 16:05:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:29 GMT