Re: [xml-dev] Question for the XPath and DOM folks

From
Thomas B. Passin <>
To
Date
2002-07-20T19:18:46Z
ID
<007301c23022$451105c0$fe193044@tbp1>
Thread
Re: [xml-dev] Question for the XPath and DOM folks
[Dare Obasanjo]

> In my opnion it should return a nodeset containing one text node with "bar
> baz quux"
> The spec says that CDATA sections are treated as character data and that a
> text
> node cannot have a sibling which is also a text node.
>
> And I might be just finding another XML-SPY xpath bug :-) do you guys see
it
> returning 3 text nodes ?
>
> Garland
>
> PS: You have the dreaded file:// preapended so following my Master-Jedi
> (Master-Jeni)
> advice I'd say that it returns "invalid xpath expression" :-)
>

My copy of Spy (version 4.4) shows it as three nodes - a text node, a CDATA
node, and another text node.

Cheers,

Tom P