LSSerializerImpl adds redundant xmlns:xml namespace bindings.
-------------------------------------------------------------

                 Key: XALANJ-2409
                 URL: https://issues.apache.org/jira/browse/XALANJ-2409
             Project: XalanJ2
          Issue Type: Improvement
          Components: Serialization
            Reporter: Chris Simmons
            Priority: Minor


Appologies if I'm logging this against the wrong component.  I'm using the 
LSSerializerImpl bundled with xerces 2.9.0 which I believe is actually drawn 
from the Xalan project nowadays.

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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to