xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- To: "Bradley S. Huffman" <hip AT cs.okstate.edu>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] NFC serialization
- Date: Wed, 22 Oct 2003 13:49:00 -0400
At 12:30 PM -0500 10/22/03, Bradley S. Huffman wrote:
What about writing four subclasses of FilterOutputStream (NFCFilterOutputStream,
NFKCFilterOutputStream, NFDFilterOutputStream, NFDKFilterOutputStream)? Then
setUnicodeNormalization(true) can automagically wrap a NFCFilterOutputStream
around the output stream provided to the serializer. Anyone wanting something
other than NFC can wrap the output stream by hand.
I don't think that would work. It assumes the underlying stream is using a Unicode encoding, but it might well not be. It could be ISO-8859-1 or something else. How the filtering happened would depend ion the encoding. Even the difference between UTF-16 and UTF-8 could be a problem.
--
Elliotte Rusty Harold
elharo AT 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
-
[XOM-interest] NFC serialization,
Elliotte Rusty Harold, 10/20/2003
-
Re: [XOM-interest] NFC serialization,
John Cowan, 10/20/2003
-
Re: [XOM-interest] NFC serialization,
Elliotte Rusty Harold, 10/20/2003
- Re: [XOM-interest] NFC serialization, John Cowan, 10/21/2003
-
Re: [XOM-interest] NFC serialization,
Elliotte Rusty Harold, 10/20/2003
- Re: [XOM-interest] NFC serialization, Francois Beausoleil, 10/21/2003
-
Re: [XOM-interest] NFC serialization,
Elliotte Rusty Harold, 10/22/2003
-
Re: [XOM-interest] NFC serialization,
Bradley S. Huffman, 10/22/2003
-
Re: [XOM-interest] NFC serialization,
Elliotte Rusty Harold, 10/22/2003
- Re: [XOM-interest] NFC serialization, Bradley S. Huffman, 10/22/2003
-
Re: [XOM-interest] NFC serialization,
Elliotte Rusty Harold, 10/22/2003
- Re: [XOM-interest] NFC serialization, Bill de hÓra, 10/22/2003
-
Re: [XOM-interest] NFC serialization,
Bradley S. Huffman, 10/22/2003
-
Re: [XOM-interest] NFC serialization,
John Cowan, 10/20/2003
Archive powered by MHonArc 2.6.24.