Just answered on the list a few days ago...

JDOM beta-7 uses String for text() nodes, whereas Jaxen was attempting
to use the newly introduce (but not used in b-7) Text class.

Solution:

        Upgrade to CVS versions of Jaxen and JDOM.

Simpler Solution:

        Upgrade to at least the beta-8 release candidate
        of JDOM.

-bob


On Mon, 25 Mar 2002, Chris Cuilla wrote:

> I have the following setup:
> 
>       JDOM 1.0b7
>       Jaxen 1.0 beta 8
> 
> Here's the gist of my code:
> 
>       xpathExpression = new XPath("/a/b/text() = 'y'");
> 
>       result = xpathExpression.evaluate(doc);
> 
> result ends up being false where 'doc' is:
> 
>       <a>
>               x
>               <b>y</b>
>               <c/>
>       </a>
> 
> What am I missing?
> 
> Chris
> 
> 
> _______________________________________________
> Jaxen-interest mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jaxen-interest
> 


_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to