trygvis/anti-xml — comment on commit 65b72d9b004765e13698a8876b7f8357669ded90
File: src/main/scala/com/codecommit/antixml/node.scala line 202
By trygvis:

I've tried to summarize more of this in the other comments, but you don't need the namespaces of the parent as long as you declare what you need in the element itself. This can lead to unoptimized (as in re-declared) namespaces, but that can be fixed either with an optimize method or only when serializing.

It would be easiest if Elem didn't have a prefix at all and it was all namespace-based, but there's so much bad XML NS usage out there that it might be too hard for them to parse XML.