Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
PatchAvailable
Description
We switched over when the xerces serializers were deprecated but found tha the xalan serializer insists on adding bindings for the xml namespace. I (and the xerces serializer) believe that this is not necessary - the xml namespace is built-in.
This resulted in our XML being littered with thousands of needless xmlns:xml=... attributes. We've worked around this by making sure we put one on the document root. I'd like to see these attributes not serialized.
I'll attach a test showing this behviour shortly. It shows that xerces didn't add them but xalan does.