Re: [xml-dev] namespace-unawareness

From
Michael Kay <>
To
Date
2010-11-18T09:47:02Z
ID
<>
Thread
Re: [xml-dev] namespace-unawareness
> Perhaps this was due to having passed the SAX Source to an xslt 
> transformer (saxon).  I suppose it's possible saxon changed the 
> namespace-awareness after I had already set it? 

Yes, if you supply an XMLReader to Saxon, Saxon will set it to 
namespace-aware before calling it. Some applications might be able to 
handle XML that isn't namespace-well-formed, but XSLT can't. If you 
really want to handle such documents in XSLT, your best bet is to 
replace the ":" characters by something else, e.g. "..".

Michael Kay
Saxonica