> On Sat, 17 Jan 2004, Sterling Hughes wrote:
>
> > namespace accesses are now soley URI based as opposed to prefix based.
>
> Sterling --
>
> This patch breaks xpath() because you can no longer access nodes in a
> default namespace. You *need* to register a prefix for them or XPath
> thinks you're searching for nodes in the global namespace, not the
> default namespace.
>
> Maybe we change the method to xpath_register_ns(), so it's clear this
> only works for xpath()?
>
How about we provide an array of aliases to the xpath() function? This
will avoid nasty refcounting as well.
-Sterling
--
"Reductionists like to take things apart. The rest of us are
just trying to get it together."
- Larry Wall, Programming Perl, 3rd Edition
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php