Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Control output of CDATA sections

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: "Hughes, Rob" <hughes AT fgm.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Control output of CDATA sections
  • Date: Fri, 08 Dec 2006 15:14:01 -0500

Hughes, Rob wrote:
Is there a property on the XOM serializer to instruct it not to output
CDATA sections?

I have an application where the XML instance documents are not allowed
to contain CDATA sections. As a result, it is important for me control
this aspect of the serializer.


No, there is no such switch. nor will there be. You need to fix the consuming application so it does not reject legal XML syntax.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/




Archive powered by MHonArc 2.6.24.

Top of Page