W3C home > Mailing lists > Public > xml-editor@w3.org > October to December 1998

XML Typo?

From: Joel Bender <joel@spooky.emcs.cornell.edu>
Date: Mon, 19 Oct 1998 11:05:58 -0400
Message-Id: <v04011700b2510327c9a4@[128.253.245.66]>
To: xml-editor@w3.org
Hi there,


Section 2.1 contains the following definition of a well-formed document:

    document ::= prolog element Misc*

Right below that mentions that matching the document production implies
that "It contains one of more elements."  If this is what is intended, then
the definition should read (assuming I understand this BNF-like notation):

    document ::= prolog element+ Misc*

Most of the examples I've seen have only one element, so I think the 2.1
section should be changed to "...contains an element."


Joel
------------------------------------------------------------------
Joel Bender                         Voice:        607-255-8880
Senior Programmer/Analyst           FAX:          607-255-5377
Utilities Department                131 Humphreys Service Building
Cornell University                  Ithaca, NY  14853-3701
-----------------  http://www.emcs.cornell.edu/  -----------------
Received on Monday, 19 October 1998 11:08:14 GMT

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