Missing WFC/BNF production for XML declaration

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