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 11:34:17 -0400
Lance Eason wrote:
So why are CDATA sections so verboten in XOM?
Because they are persistently misused and misunderstood. If you let people control them, then they use them. For example, unit tests should not break if a process begins emitting escaped characters instead of a CDATA section or vice versa. Such a unit test should be refactored, not catered to.
XOM does the best job it can to manage human legibility (by internally preserving CDATA sections where possible).
--
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.