Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] CDATA sections

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: John Cowan <jcowan AT reutershealth.com>
  • To: Elliotte Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] CDATA sections
  • Date: Thu, 3 Feb 2005 16:09:34 -0500

Elliotte Harold scripsit:

> There's no magic in XOM for figuring out what is and isn't
> representable.

Serializer must have a method that knows, e.g., that U+0100 isn't
representable in Latin-1, so that it can write out "&#x100;" or the like
when serializing it. Exposing that method will be essential to get
CDATASerializer correct, since CDATASerializer is generic -- it will
need to accept an encoding argument in the constructor and pass it to
the Serializer constructor.

--
"But the next day there came no dawn, John Cowan
and the Grey Company passed on into the jcowan AT reutershealth.com
darkness of the Storm of Mordor and were http://www.ccil.org/~cowan
lost to mortal sight; but the Dead http://reutershealth.com
followed them. --"The Passing of the Grey Company"




Archive powered by MHonArc 2.6.24.

Top of Page