Subject: RE: A colon is not allowed in the name
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 25 Mar 2009 21:29:20 -0000
|
> Just wondering, if there is a way to disable the namespace
> awareness while parsing the xml document, using
> "javax.xml.transform.Transformer".
>
I think some XML parsers probably still allow you to parse
non-namespace-aware XML, if you set the right switches. But
javax.xml.transform.Transformer is not an interface to XML parsers, it is an
interface to XSLT processors, and XSLT requires namespace-well-formed input.
Michael Kay
http://www.saxonica.com/
|