xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: norwoods <norwoods AT gbronline.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] RE: XPath support in XOM
- Date: Mon, 10 Jan 2005 14:17:11 -0500
norwoods wrote:
if xml does not allow adjacent text nodes and xom only allows correct xml, shouldn't a xom text node insert operation adjacent to an existing text node combine the strings into the existing text node? would this not eliminate the xpath problem?
It's not XML that doesn't allow adjacent text nodes. It's XPath. At one point early on I had planned to make XOM disallow (or automerge) adjacent text nodes just to avoid this problem. However, I was convinced otherwise. At this point, though, I think I'm sticking to my guns. XPath is defined on a data model that does not allow adjacent text nodes, and to query XOM with XPath we need to account for that.
--
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] RE: XPath support in XOM,
Hallvard Trætteberg, 01/10/2005
-
Re: [XOM-interest] RE: XPath support in XOM,
Elliotte Harold, 01/10/2005
-
RE: [XOM-interest] RE: XPath support in XOM,
Michael Kay, 01/10/2005
- Re: [XOM-interest] RE: XPath support in XOM, Bradley S. Huffman, 01/10/2005
-
RE: [XOM-interest] RE: XPath support in XOM,
Michael Kay, 01/10/2005
- <Possible follow-up(s)>
- Re: [XOM-interest] RE: XPath support in XOM, Elliotte Harold, 01/10/2005
-
Re: [XOM-interest] RE: XPath support in XOM,
norwoods, 01/10/2005
-
Re: [XOM-interest] RE: XPath support in XOM,
Elliotte Harold, 01/10/2005
-
RE: [XOM-interest] RE: XPath support in XOM,
Michael Kay, 01/10/2005
-
Re: [XOM-interest] RE: XPath support in XOM,
Elliotte Harold, 01/10/2005
-
RE: [XOM-interest] RE: XPath support in XOM,
Michael Kay, 01/10/2005
-
Re: [XOM-interest] RE: XPath support in XOM,
Elliotte Harold, 01/10/2005
- Re: [XOM-interest] RE: XPath support in XOM, Bradley S. Huffman, 01/10/2005
-
Re: [XOM-interest] RE: XPath support in XOM,
Elliotte Harold, 01/10/2005
-
RE: [XOM-interest] RE: XPath support in XOM,
Michael Kay, 01/10/2005
-
Re: [XOM-interest] RE: XPath support in XOM,
Elliotte Harold, 01/10/2005
-
RE: [XOM-interest] RE: XPath support in XOM,
Michael Kay, 01/10/2005
-
Re: [XOM-interest] RE: XPath support in XOM,
Elliotte Harold, 01/10/2005
-
Re: [XOM-interest] RE: XPath support in XOM,
Elliotte Harold, 01/10/2005
Archive powered by MHonArc 2.6.24.