W3C home > Mailing lists > Public > xml-editor@w3.org > October to December 2003

Missing WFC/BNF production for XML declaration

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Sun, 9 Nov 2003 13:05:47 -0500
Message-Id: <p06002009bbd4318ec77d@[]>
To: xml-editors@w3.org

Section 2.11 states:

The characters #x85 and #x2028 cannot be reliably recognized and 
translated until an entity's encoding declaration (if present) has 
been read. Therefore, it is a fatal error to use them within the XML 
declaration or text declaration.

This should not be left to text like this. I guess you can't fit it 
in the BNF grammar because these characters might be converted to #xA 
on input, but this paragraph should be called out as an explicit 
well-formedness constraint.

   Elliotte Rusty Harold
   Effective XML (Addison-Wesley, 2003)
Received on Sunday, 9 November 2003 13:51:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:43 UTC