Pedro,

The class is now called simply DocumentContainer.

I will update the documentation when I get a chance.

Thank you,

- Dmitri


----- Original Message ----- From: "pedro Cristian" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, April 29, 2005 7:59 AM
Subject: [JXPath] deprecated doc



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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to