Have you heard about namespace scoping. The issue might be in your XML document itself.
>From the spec, http://www.w3.org/TR/REC-xml-names/#uniqAttrs, it says: In XML documents conforming to this specification, no tag may contain two attributes which: 1. have identical names, or 2. have qualified names with the same local part and with prefixes which have been bound to namespace names that are identical. I don't know but the duplicate xmlns:bar="http://localhost" looks wrong. Then again, maybe you were just using the xml as an example. Big Mike -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mark Lybarger Sent: Wednesday, March 10, 2010 1:55 PM To: webtest Subject: [Webtest] storeXpath using custom resolver i'm looking to use storeXpath to pull a value from an xml document for later usage. the xml document resembles: <foo> <bar:a xmlns:bar="http://localhost">ONE</bar:a> <bar:b xmlns:bar="http://localhost">TWO</bar:b> </foo> I'm trying to get the value of the bar:a node, but the error message I get says: [storeXPath] org.apache.xpath.domapi.XPathStylesheetDOM3Exception: Prefix must resolve to a namespace: bar Any help would be appreciated. thanks, -mark- _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

