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

comment on "document" definition in second edition of XML specif ication

From: Gignac Donald A CRBE <GignacDA@nswccd.navy.mil>
Date: Fri, 13 Oct 2000 13:41:15 -0400
Message-ID: <1F9F67162ADED3119F18009027A8F404C6029B@crbeex03.dt.navy.mil>
To: "'xml-editor@w3.org'" <xml-editor@w3.org>
Cc: "Westbrook Evelyn L (Lori) CRBE" <WestbrookEL@nswccd.navy.mil>, Junod L J II CRBE <JunodLJ@nswccd.navy.mil>, "Garner F J (Joe) CRBE"<GarnerFJ@nswccd.navy.mil>, Le Beau Raymond P CRBE<LeBeauRP@nswccd.navy.mil>
In section 2.1 "Well-Formed XML Documents", [1] defines "document" as consisting of

prolog element Misc*

In section 2.8 "Prolog and Document Type Declaration", [22] defines "prolog" as consisting of 

XMLDecl? Misc* (doctypedecl Misc*)?

Since it is legitimate for "prolog" to consist of nothing, it would seem more appropriate to define [1] as
prolog? element Misc*
for the following reason: If nothing is there, how can "prolog" be said to be there? 
Received on Friday, 13 October 2000 13:42:05 GMT

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