xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Wout van der Steen (JIRA)" <xalan-...@xml.apache.org>
Subject [jira] Commented: (XALANJ-2409) LSSerializerImpl adds redundant xmlns:xml namespace bindings.
Date Fri, 20 Nov 2009 08:22:40 GMT

    [ 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-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Mime
View raw message