On 2/22/04 7:36 PM, Sterling Hughes wrote:
Mmmh
too bad, will try to find a solution for libxml2 < 2.6
I know, it's late in the release process, but the "old" implementation didn't recognise default namespaces, which broke quite some ext/xml scripts from php4 days and I'd like to have fixed that before 5.0.0
In the meantime either add #ifdef configure checks or revert it out. Recognizing default namespaces shouldn't be hard to hack in to the code that was there, it just requires a bit of a rethink,
It's not only about default namespaces, also same prefix for different namespaceURI isn't supported [1]. AFAIK, the whole homegrown NS lookup routine would need a rewrite, which just isn't worth it IMHO, if there's an easy solution in 2.6..
> and I believe we're > set on supporting libxml2.5, right?
Mmmh, Rob had some reasons for better stick to 2.5 than 2.6 for the time being. Maybe he can tell us more about this issue
chregu
[1]
<a xmlns:bar="http://example.com/bar"> <bar:b /> <bar:c xmlns:bar="http://example.com/foo"/> </a>
returns http://example.com/bar as the namespaceURI of node "c" in ext/xml
-Sterling
chregu
On 2/22/04 7:34 PM, Rob Richards wrote:
This change requires libxml 2.6 in order to work (and compile).
Rob
On Sunday 22 February 2004 01:05 pm, Christian Stocker wrote:
Hi
mmmh, forget about that... I used 2.6.2, will test on 2.5.10 later
chregu
On 2/22/04 6:55 PM, Sterling Hughes wrote:
What version of libxml2 does this rely on?
-- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [EMAIL PROTECTED] | gnupg-keyid 0x5CE1DECB
-- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [EMAIL PROTECTED] | gnupg-keyid 0x5CE1DECB
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php