![](https://secure.gravatar.com/avatar/58914b540a0cd9b0c82dc7dc5acf44b9.jpg?s=120&d=mm&r=g)
Hi, On Wed, 2006-02-01 at 20:55 +0100, Andreas Pakulat wrote:
Hi,
regarding the remove-redundant-namespaces issue there are news:
kbuchcik implemented the xmlDOMWrapReconcileNamespaces in tree.c of libxml2 so it should remove redundant NS decl. However neither do I have any experience with libxml2 nor do I have the time to dig into it so that I can build a test program for this.
Thus I ask you guys here, who surely are libxml2 experts, if you could help me out here. Either some "hack" for lxml that allows me to test this or a small programm that takes an xml file and applies this function to it's DOM tree (and outputs the result) would be really great.
Note that removal of redundant ns-decls in xmlDOMWrapReconcileNamespaces() was committed to CVS just yesterday and I fixed some bugs today; I peformed only rudimental tests, so more testing would be appreciated. Andreas' bug-entry: http://bugzilla.gnome.org/show_bug.cgi?id=329347 Regards, Kasimier