[xml] =?ISO-8859-1?Q?Re=3A=20=27Re=3A=20=22Re=3A=20=5Bxml=5D=20usage=20of=20xmlReconciliateNs=22=27?=



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.

Kasimier Buchcik




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