Hi there,
I tried a few tests and it seems like a jaxen bug to me which does not seem to process "//myNodeName" expressions correctly.
if someone could mail me an example that works for instance with jdom/jaxen (or dom/jaxen) and not with dom4j/jaxen, I would greatly appreciate it :-)
regards, Maarten
D'Arcy Norman wrote:
On Sep 28, 2004, at 8:34 PM, Ben Munat wrote:
Hi,
I remember having a problem with this when I started using dom4j and unfortunately, I can't remember exactly how I got around it. (I would probably not even reply and let someone more knowledgeable help you, but this is a rather quiet list... or, more accurately, a rather one-sided list.)
Thanks for responding! Wasn't sure what volume the list gets...
It seems to me that the trouble had something to do with the document having a doctype declaration. I don't know why that would screw up an xpath, but it seems like I had more luck when I took the dtd declaration out. I know that pretty much sucks, but...
Um. Yeah. That would be, well, bad...
I modified my code to use the Apache XPath stuff and W3C DOM instead, and it works like a charm there. Not as friendly to code, but works... ;-)
- D'Arcy Norman Software Developer Learning Commons, The University of Calgary [EMAIL PROTECTED] http://careo.ucalgary.ca http://commons.ucalgary.ca/weblogs/dnorman (403) 220-2504 AIM/iChatAV: [EMAIL PROTECTED]
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user