commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pedro Cristian <pedro_crist...@yahoo.fr>
Subject [JXPath] deprecated doc
Date Fri, 29 Apr 2005 11:59:36 GMT
I was just looking at the JXPath documentation.

http://jakarta.apache.org/commons/jxpath/users-guide.html

The user guide recommends using the XMLContainer

"An example of a useful container is XMLDocumentContainer  . When you create an
XMLDocumentContainer, you give it a pointer to an XML file (a URL or a
javax.xml.transform.Source)."

However, this class is deprecated.

http://jakarta.apache.org/commons/jxpath/apidocs/org/apache/commons/jxpath/XMLDocumentContainer.html

So if someone wants to evaluate an XPath on an XML flow what is the recommended
solution? Use this deprecated class using a SAX source, or use another XPath
capable library like Jaxen?

Is it a misunderstanding of the aim of JXPath (more centered on accessing java
objects and xml file in the classfile or accessed thru an url)?


Pedro


	

	
		
__________________________________________________________________ 
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message