W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2003

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

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Thu, 18 Sep 2003 12:40:01 -0400
Message-Id: <p06002000bb8f901e9eac@[192.168.254.4]>
To: Joseph Kesselman <keshlam@us.ibm.com>
Cc: Francois Yergeau <FYergeau@alis.com>, Johnny Stenback <jst@w3c.jstenback.com>, "'www-dom@w3.org'" <www-dom@w3.org>, www-dom-request@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:57 GMT