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

>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 UTC