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

XML 1.1 Rec Errors

From: Michael Glavassevich <mrglavas@ca.ibm.com>
Date: Fri, 6 Feb 2004 17:49:04 -0500
To: xml-editor@w3.org
Message-ID: <OF3DF63B78.DCC8E8BE-ON05256E32.0073C6ED-85256E32.007D4E42@ca.ibm.com>
In the XML 1.1 rec the document production [1] appears as:

    document    ::=    prolog element Misc*- Char* RestrictedCharChar*

There is a space missing between RestrictedChar and Char. It should be:

    document    ::=    prolog element Misc*- Char* RestrictedChar Char*

The SDDecl production [2] appears to be incorrect.  In the rec it is:

    SDDecl    ::=    #x20+ 'standalone' Eq (("'" ('yes' | 'no') "'") | 
('"' ('yes' | 'no') '"'))

This is different from the XML 1.0 production.  Allowing only #x20+ before 
'standalone' appears to be an error.  The response to a comment [3] 
regarding prohibiting LSEP and NEL from the XML declaration was to only 
allow x20 in places where S was allowed in the XMLDecl and TextDecl. It 
seems that 2.11 [4], paragraph 3 was writen to address this problem 
instead, but SDDecl was changed somewhere along the way.  I believe it 
should be restored to:

    SDDecl    ::=    S 'standalone' Eq (("'" ('yes' | 'no') "'") | ('"' 
('yes' | 'no') '"')) 

[1] http://www.w3.org/TR/2004/REC-xml11-20040204/#NT-document
[2] http://www.w3.org/TR/2004/REC-xml11-20040204/#NT-SDDecl
[3] 
http://lists.w3.org/Archives/Public/www-xml-blueberry-comments/2003Jun/0006
[4] http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-line-ends

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
Received on Friday, 6 February 2004 17:49:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:46 UTC