Re: XML 1.0

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 UTC