[ https://issues.apache.org/jira/browse/XALANJ-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780478#action_12780478 ]
Eric Wout van der Steen commented on XALANJ-2409: ------------------------------------------------- We've just switched to Xalan 2.7.1 (from Xalan 2.7.0 with Xerces 2.7.1) and see the same effect. > LSSerializerImpl adds redundant xmlns:xml namespace bindings. > ------------------------------------------------------------- > > Key: XALANJ-2409 > URL: https://issues.apache.org/jira/browse/XALANJ-2409 > Project: XalanJ2 > Issue Type: Bug > Components: Serialization > Reporter: Chris Simmons > Attachments: boundxmlprefix.xml, patch3092.txt, TestSerializer.java > > > 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: xalan-dev-unsubscr...@xml.apache.org For additional commands, e-mail: xalan-dev-h...@xml.apache.org