Re: LSSerializer declaring unneeded xmlns:xml

Chad La Joie <[email protected]> Tue, 27 Jul 2010 10:37:11 -0400
Newsgroups gmane.text.xml.xalan.java.user
Organization Itumi, LLC
Message-ID <[email protected]>
Still looking for some discussion on this topic with the Xalan folks. 
Is the Xalan code even supported anymore?

On 6/21/10 10:18 AM, Chad La Joie wrote:
> Let me preface this by saying that to my understanding Xerces-J and
> Xalan-J now share a common LSSerializer implementations and that this
> implementation is held and maintained by Xalan. If that's not true let
> me know and I'll got bug the Xerces people instead. :)
>
> The LSSerializer implementation is emitting unnecessary xmlns:xml
> declarations. We have run in to cases where code receiving XML with such
> declarations break. Clearly this is a problem with their code, but I
> have no power over them to make them fix it.
>
> Since the xmlns:xml decl is unnecessary would it be possible to add a
> config options, like
> 'http://www.w3.org/TR/DOM-Level-3-Core/core.html#parameter-namespaces',
> that would make the LSSerializer not emit the xml namespace delc?
>
> I also see an issue discussing this was submitted some time ago:
> https://issues.apache.org/jira/browse/XALANJ-2409
>

-- 
Chad La Joie
http://itumi.biz
trusted identities, delivered