Bugs item #1194977, was opened at 2005-05-04 06:55
Message generated for change (Settings changed) made by maartenc
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1194977&group_id=16035

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Gili Tzabari (cowwoc)
Assigned to: Maarten Coene (maartenc)
Summary: Always include nested exceptions

Initial Comment:
When I invoke element.selectNodes() it invokes Jaxen
under the hood and if Jaxen fails for any reason it
returns:

org.dom4j.InvalidXPathException: Invalid XPath
expression: <xpath string>

but this is incorrect because if the underlying
implementation encounters a totally unrelated issue
such as ClassNotFoundException (as I get in my case)
then it is completely swallowed up by dom4j and it
gives a misleading message. For this reason, please
never swallow nested exceptions.

At the very least, please fix the Jaxen issue I mention
above.

----------------------------------------------------------------------

Comment By: Maarten Coene (maartenc)
Date: 2005-05-05 15:39

Message:
Logged In: YES 
user_id=178745

Yes, there could be some hours delay on the public CVS servers

----------------------------------------------------------------------

Comment By: Gili Tzabari (cowwoc)
Date: 2005-05-05 15:17

Message:
Logged In: YES 
user_id=80628

CVS complains there is no such branch/tag. Should I retry in
a few hours?

----------------------------------------------------------------------

Comment By: Maarten Coene (maartenc)
Date: 2005-05-05 14:46

Message:
Logged In: YES 
user_id=178745

I've made some modifications to the exception handling.

Could you try it out with the latest sources from the
DOM4J_1_X_BRANCH branch ?

thanks,
Maarten

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1194977&group_id=16035


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
dom4j-dev mailing list
dom4j-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to