[jdom-commits] CVS Update: jdom/src/java/org/jdom/xpath

Jason Hunter jhunter at servlets.com
Wed Aug 25 10:53:09 PDT 2004

Date:   Wed Aug 25, 2004 @10:53:08 PDT

Update of /home/cvs/jdom/src/java/org/jdom/xpath
In directory servlets:/tmp/cvs-serv21676/src/java/org/jdom/xpath

Modified Files:
Log Message:
A patch from Laurent removing dependence on saxpath. From 2004/4/2...

Antoine Lévy-Lambert wrote:
> Since saxpath is deprecated and merged under new package names into jaxen,
> can you replace the package names of saxpath with their equivalents in jaxen ?

JDOM has a dependency to saxpath because, in Jaxen 1.0, JDOMXPath constructors expose the SAXPathException.

The attached patch removes this dependency in JaxenXPath.java (removal of the import and catching of the generic Exception instead of SAXPathException) and fixes the build.xml not to explicitely reference saxpath.jar.

This patch has been tested against both Jaxen 1.0 FCS (and its current "installation" in jdom/lib) and Jaxen 1.1 beta2.



File: no file JaxenXPath.java		Status: Needs Checkout

   Working revision:	1.17	Wed Aug 25 17:53:08 2004
   Repository revision:	1.17	/home/cvs/jdom/src/java/org/jdom/xpath/JaxenXPath.java,v

   Existing Tags:
	BEFORE_UNCHECKED         	(revision: 1.16)
	jdom_1_0_b10             	(revision: 1.16)
	jdom_1_0_b10_rc1         	(revision: 1.16)
	after_rolf               	(revision: 1.13)
	before_rolf              	(revision: 1.13)
	jdom_1_0_b9              	(revision: 1.10)

More information about the jdom-commits mailing list