- From: Karlsson Kent - keka <keka@im.se>
- Date: Thu, 31 Aug 2000 18:41:06 +0200
- To: 'xml-editor@w3.org' <xml-editor@w3.org>
Received on Thursday, 31 August 2000 12:42:59 UTC
Regarding:
[23] XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'
[77] TextDecl ::= '<?xml' VersionInfo? EncodingDecl S? '?>'
I can understand the "SDDecl?" difference, but what I find strange
is that in one VersionInfo is optional but not in the other, and
the other way around for EncodingDecl. Odd, but I guess harmless,
given that both SMLDecl and TextDecl are optional.
2.8 says "XML documents may, and should, begin with an XML
declaration ..."
It suffices to say "XML documents should begin with an XML
declaration ..."
4.3.1 should similarly say "External parsed entities should
each begin with a text declaration" ('should', rather than 'may').
/Kent Karlsson
Received on Thursday, 31 August 2000 12:42:59 UTC