[xml] xmlNewReconciliedNs reused prefix



Hi,

the documentation says about xmlNewReconciliedNs:
"However if the given prefix is (...) reused *within the subtree* 
defined by * @tree or on one of its ancestors then a new prefix is 
generated."

Avoiding already used prefixes *within the subtree* is obviously not 
implemented yet.

Does anybody has already a fix for that?

I'm trying to fix the function "xmlReconciliateNs" and need the 
functionality described in the documentation for "xmlNewReconciliedNs" 
in order to make things work, since in very rare circumstances prefixes 
could be shadowed by renamed prefixes - resulting in incorrect 
serialization.

Thanks,

Kasimier Buchcik




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