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: "Hughes, Rob" <hughes AT fgm.com>
  • To: "Elliotte Harold" <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Control output of CDATA sections
  • Date: Mon, 11 Dec 2006 10:03:58 -0500

Elliotte,

Thanks for the response.

For the curious, it is not the consuming application that is broken. I have
an application which transmits XML documents across security domains. The
security folks have decreed that CDATA sections are not allowed due to an
unspecified risk.

--Rob

> -----Original Message-----
> From: Elliotte Harold [mailto:elharo AT metalab.unc.edu]
> Sent: Friday, December 08, 2006 3:14 PM
> To: Hughes, Rob
> Cc: xom-interest AT lists.ibiblio.org
> Subject: Re: [XOM-interest] Control output of CDATA sections
>
> 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/ca
> feaulaitA/
>



Archive powered by MHonArc 2.6.24.

Top of Page