You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Chris Simmons <cp...@decisionsoft.com> on 2008/12/08 11:10:06 UTC

Issue XALANJ-2409

I was hoping someone could look into this for me, I've made noises in 
the -users list to no effect.

In summary the LSSerializer in Xalan (and bundled with Xerces) appears 
to contain an error.  It uses DOM3TreeWalker which does not call the 
reset method on the NamespaceSupport (notably every other client of this 
class does call reset).  The upshot of this is that it doesn't know that 
the XML namespace/prefix is built in and hence you can end up with 
pointless namespace bindings for the xml namespace all over the place.

In some respects this is just cosmetic as its not an error to bind the 
XML prefix; however some retarded XML implementations think it must not 
be bound.  I'm sure you can guess which ;)  For this reason we've had to 
use a patched version of Xalan but I'd obviously much prefer that this 
fix found its way into a future release.

Full URL: https://issues.apache.org/jira/browse/XALANJ-2409
Spec: http://www.w3.org/TR/REC-xml-names/#ns-decl "Namespace constraint: 
Reserved Prefixes and Namespace Names"

Kind regards,

Chris Simmons.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org