[Webtest] verifyXPath - dealing with xml namespaces

Marc Guillemot webtest@lists.canoo.com
Tue, 13 Jun 2006 00:08:05 -0700 (PDT)


Hi Mike,

this seems to be related to htmlunit's XML parsing bug:
http://sourceforge.net/tracker/index.php?func=detail&aid=1496491&group_id=47038&atid=448266

XPath on XMLPage are evaluated using Jaxen's DOMXPath. I suppose that it is
necessary to retrieve the namespaces from the Document and to inform this
XPath object about the available namespaces (using the namespace context).
If you want to investigate your patch is welcome ;-)

Marc.
--
View this message in context: http://www.nabble.com/verifyXPath---dealing-with-xml-namespaces-t1777411.html#a4841985
Sent from the WebTest forum at Nabble.com.