DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11792>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11792 XPathAPI throws NPE If Any Extension Function Used ------- Additional Comments From [EMAIL PROTECTED] 2002-08-31 16:36 ------- In response to Additional Comments From Joe Kesselman 2002-08-19 18:37: Joe wrote: "In the case of the specific expression cited: You'd also need to plug in a namespace resolver which knew how to map the "regexp:" prefix in your expression into the proper namespace URI for the ExtensionProvider's look-up. Note that defining the prefix in the source document is *not* sufficient unless you have a resolver which explicitly says how to check with the source doc" The ApplyXPath sample code uses XPathAPI.selectNodeIterator(doc, xpath); The XPathAPI in this case uses the source document to produce a PrefixResolver for you. The prefixes are resolved from the source document being queried. So, for the example cited, the namespace resolver is created automatically, and does "check with the source document".
