Re: DOM XPath: Who's responsible for merging text nodes? User or implementation?

Frans Englich wrote:

> I interpret that as the implementation can "expect" only separate text nodes 
> to be exist, but that still leaves the a bit unsure sitation of when the user 
> code simply is buggy; that the user forgets to manually merge text 
> nodes(think web browsers).

Only the first of the adjacent text nodes is returned. Subsequent 
adjacent nodes are omitted from the results.

-- 
Elliotte Rusty Harold  elharo@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

Received on Tuesday, 10 May 2005 10:09:33 UTC