On 28.01.06 13:12:19, Stefan Behnel wrote:
It has an option called '--nsclean' that is supposed to remove redundant namespace declarations. But I have not yet found this to work in any of the cases where I really needed NS cleanup.
Correct.
It seems to fail especially in the case where the default namespace is re-declared. Another problem is related to libxslt: xsl:copy copies redundant namespace declarations and even xmllint then has problems in cleaning them up afterwards.
I just tried without a re-declared default namespace and it still is not working. I'm going to check wether a bug is open and eventually report one. This shouldn't be that hard to do, at least not on serialization... Andreas -- Never commit yourself! Let someone else commit you.