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@[192.168.254.4]>
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
   elharo@metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
Received on Sunday, 9 November 2003 13:51:13 UTC

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