I'm all for evaluate(). What does it return? An Object or a List? 

-Mark

----- Original Message ----- 
From: "bob mcwhirter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 06, 2001 2:49 PM
Subject: [Jaxen] Naming...


> 
> Bridging a discussion from jdom-interest...
> 
> I know we have XPath.selectNodes(), but it doesn't necessarily return
> a list of nodes.  As mentioned in the previous message, any xpath expr
> is legal, and thus, selectNodes("4 + 8") doesn't return any nodes,
> but rather an Integer (or is it a Double now?)
> 
> I'm all for keeping the methods we have now, since folks are using
> them, and I don't really want to break existing code.  But, howsabout
> adding a more-semantically-valid method called evaluate(...) which
> behaves exactly as selectNodes() does now.  Deprecate selectNodes(),
> and phase it out over time, maybe.
> 
> -bob
> 
> 
> _______________________________________________
> 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