XML 1.1 Rec Errors

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