Re: [xml] on improving xmlSearchNs

On Fri, Sep 12, 2003 at 10:23:01AM +0200, luca_padovani virgilio it wrote:
But please provide a small contextual patch

find attached the diff for tree.c (CVS version)

  Use diff -c for contextual patches, that wasn't usable as is.

confuse it. Something similar could be used for xmlSearchNsByHref I 

looks like the same trick can be used there, but the function is slightly
more complicated and I don't feel confident enough to do the work. Perhaps
it's worth defining an auxiliary function for detecting "shadowed namespaces"?

  yep, xmlSearchNsByHref needed some cleanup, there was a couple of bugs,
I patched it too. This should work fine now, this is in CVS, 

  thanks for the idea, the speedup can be significant I agree,


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]