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

Re: [xml] Re: 'Re: "Re: [xml] usage of xmlReconciliateNs"'



On Fri, Apr 25, 2003 at 03:35:28PM +0200, Kasimier Buchcik wrote:
> Hi,
> 
> Daniel Veillard wrote:
> > On Fri, Apr 25, 2003 at 02:58:25PM +0200, Kasimier Buchcik wrote:
> >>Hmm, but why does it remap namespaces which are already declared in the 
> >>subtree? Those should not have any references to the old tree - only 
> >>inside the subtree. And if this is intended, why does it not free the 
> >>resulting "no more used" namespaces?
> > 
> > 
> >   Hum, it should not operate that way, there is something wrong
> > either in the code or in the way your tried to use it.
> > 
> > Daniel
> > 
> 
> xmlReconciliateNS calls xmlNewReconciliedNs(doc, tree, node->ns) to 
> search for existing namespaces; "tree" is the given top of the subtree 
> and never changes, thus the search won't ever touch any of the declared 
> namespaces *inside* the subtree.

  Works for me, see python/tests/cutnpaste.py

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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