We've got a bunch of code that uses org.w3c.dom interfaces and are evaluating dom4j for all of the great things it provides. Having the compatibility layer with org.w3c looks like it will make transitioning much more reasonable.
We've got a utility function that generates XPaths by recursively calling getParent(). Right now, this fails when it gets up to the root node because DOMNodeHelper.getParentNode is trying to call asDOMNode on null. Is there any reason to not just return the null instead of calling asDOMNode?
Thanks! Kevin Dangoor JSTOR
-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user