W3C home > Mailing lists > Public > xml-editor@w3.org > January to March 1998

Re: XML 1.0

From: Tim Bray <tbray@textuality.com>
Date: Wed, 18 Mar 1998 17:59:07 -0800
Message-Id: <3.0.32.19980318174806.00ca3b48@pop.intergate.bc.ca>
To: Mark Hennes <mhennes@ford.com>, xml-editor@w3.org
At 10:03 AM 18/03/98 -0500, Mark Hennes wrote:
>According to the specification
>
>document ::= prolog element Misc*
>prolog   ::= XMLDecl? Misc* (doctypedecl Misc*)?
>XMLDecl  ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'
>
>a document with an "XMLDecl" could not contain leading white space.
>I assume this is not an intentional constraint.

Yes it is.  The XMl declaration has to be at the front of the spec
so that the encoding-guessing techniques work. -T.
Received on Wednesday, 18 March 1998 20:59:37 GMT

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