Re: SimpleXML XPath Namespace Support
| From: | Rob Richards | Date: | Sat, 22 Nov 2003 14:31:07 +0000 |
| Subject: | Re: SimpleXML XPath Namespace Support | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5665@lists.php.net to get a copy of this message | ||
From: Adam Maccabee Trachtenberg
>
> http://www.trachtenberg.com/patches/simplexml_xpath_ns_patch.txt
>
> Can someone with SimpleXML karma please review and apply. See Bug
> #26159 for more information.
The question I have is in simplexml_ce_register_ns. As nsmap has no specific
scope, shouldnt all the entries be registered in the xpath context, which
would then need to happen in simplexml_ce_xpath_search?
In the meantime, here's an update of your patch:
http://www.ctindustries.net/patches/simplexml_xpath_ns_patch.txt
Rob