xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] [ANN] nux-1.0a4 release - XQuery support for XOM
- From: Wolfgang Hoschek <whoschek AT lbl.gov>
- To: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] [ANN] nux-1.0a4 release - XQuery support for XOM
- Date: Fri, 22 Oct 2004 13:10:51 -0700
The method looks at a single Text node individually, not across multiple Text node boundaries.
That's why the javadoc also says:
"Finally, note that this method's whitespace pruning is appropriate for many, but not all XML use cases (round-tripping)"
Wolfgang.
On Oct 22, 2004, at 11:00 AM, Elliotte Harold wrote:
Wolfgang Hoschek wrote:
• XOMUtil: Added a node factory that ignores Text nodes that consist of whitespace only.
The JavaDoc says, "This method fully preserves narrative text containing whitespace along with other characters." Does it really do this? If so, how? The tricky case here is this:
<p><strong>Hello</strong> <em>World!</em></p>
Does this factory know that the space in the above is significant?
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
-
[XOM-interest] [ANN] nux-1.0a4 release - XQuery support for XOM,
Wolfgang Hoschek, 10/22/2004
-
Re: [XOM-interest] [ANN] nux-1.0a4 release - XQuery support for XOM,
Elliotte Harold, 10/22/2004
- Re: [XOM-interest] [ANN] nux-1.0a4 release - XQuery support for XOM, Wolfgang Hoschek, 10/22/2004
-
Re: [XOM-interest] [ANN] nux-1.0a4 release - XQuery support for XOM,
Elliotte Harold, 10/22/2004
Archive powered by MHonArc 2.6.24.