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



On Fri, Apr 25, 2003 at 02:58:25PM +0200, Kasimier Buchcik wrote:
Hi,

Daniel Veillard wrote:
Basically the goal of xmlReconciliateNs is to fix the namespaces references
when a subtree is removed from a document and pasted into another one. 
It will try to remap all the namespace in a coherent manner so that no
reference to the old tree still exists and preserve the namespaces
semantic on the new tree.

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

-- 
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]