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 <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] CDATA sections
  • Date: Thu, 3 Feb 2005 10:35:04 -0500

Elliotte Harold scripsit:

> I've thought about this, but I think I'm going to leave it as a
> third-party opportunity. There's a use case here, (nice printing of
> DocBook documents and the like so programs are easy to read in source
> code form) but it's small, and the potential for abuse of this feature
> is very high.

This can only be done if Serializer exposes a public or protected
interface that allows you to ask if a character is directly encodable
in the current encoding. Characters that can't be, can't be in CDATA
sections.

--
"How they ever reached any conclusion at all jcowan AT reutershealth.com>
is starkly unknowable to the human mind." http://www.reutershealth.com
--"Backstage Lensman", Randall Garrett http://www.ccil.org/~cowan




Archive powered by MHonArc 2.6.24.

Top of Page