xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: "Bradley S. Huffman" <hip AT cs.okstate.edu>
- To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] NFC serialization
- Date: Wed, 22 Oct 2003 12:30:03 -0500
Elliotte Rusty Harold writes:
> The other possibility is to actually support all four normalization
> forms, and do something like this:
>
> public void setUnicodeNormalization(Type form)
> public String getUnicodeNormalization()
>
> However, I'm not sure that's actually a good idea. It goes against
> the W3C character model which suggests NFC or nothing However, there
> *might* be some use cases for NFKC in particular.
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.
Brad
-
[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.