xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Why won't XOM let you create a CDATA section?
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: Lance Eason <leason AT betweenmarkets.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Why won't XOM let you create a CDATA section?
- Date: Tue, 22 Aug 2006 13:50:50 -0400
Lance Eason wrote:
Elliotte Harold wrote:
Because they are persistently misused and misunderstood.
Out of genuine curiosity, what constitutes a 'misuse' of a CDATA
section? I tend to use them as syntactic sugar to say please don't
obfuscate this particular piece of text with a bunch of '<', '>'
and '&' encodings.
1. The use of CDATA to embed malformed markup in documents which then needs to be parsed (the RSS mistake)
2. The treatment of CDATA as somehow different from non-CDATA encodings of the same information, usually by treating it as some sort of funny pseudo-element (seen in many DOM based apps)
--
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/
-
[XOM-interest] Why won't XOM let you create a CDATA section?,
Lance Eason, 08/22/2006
- Re: [XOM-interest] Why won't XOM let you create a CDATA section?, Elliotte Harold, 08/22/2006
-
Re: [XOM-interest] Why won't XOM let you create a CDATA section?,
Tatu Saloranta, 08/22/2006
- Re: [XOM-interest] Why won't XOM let you create a CDATA section?, Elliotte Harold, 08/22/2006
- <Possible follow-up(s)>
-
Re: [XOM-interest] Why won't XOM let you create a CDATA section?,
Lance Eason, 08/22/2006
- Re: [XOM-interest] Why won't XOM let you create a CDATA section?, Elliotte Harold, 08/22/2006
- Re: [XOM-interest] Why won't XOM let you create a CDATA section?, Elliotte Harold, 08/28/2006
Archive powered by MHonArc 2.6.24.