Re: i18n reviews of DOM 3 Core and Load&Save

At 9:06 AM -0400 9/18/03, Joseph Kesselman wrote:


>Since parsers are required to accept all three (UTF8 and both byte-orders
>of UTF16, with appropriate byte-order mark), generating any of the three as
>the default output encoding should result in a document that all parsers
>will accept.

I'm thinking of Java code, (or C++, or Perl) but not XML. If I tell 
the serializer to generate UTF-8 I don't want it to work in one 
implementation but fail in another that only supports UTF-16.

-- 

   Elliotte Rusty Harold
   elharo@metalab.unc.edu
   Processing XML with Java (Addison-Wesley, 2002)
   http://www.cafeconleche.org/books/xmljava
   http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA

Received on Thursday, 18 September 2003 12:44:41 UTC