[Yanel-dev] [FYI] SAXTransformerFactory#newTransformerHandler
returning null
Michael Wechner
michael.wechner at wyona.com
Mon Apr 19 22:26:44 CEST 2010
Guillaume Déflache wrote:
> Hi!
>
> When using XSLT via the JAXP API, you may use the
> SAXTransformerFactory#newTransformerHandler(Source) method
> (<http://java.sun.com/javase/6/docs/api/javax/xml/transform/sax/SAXTransformerFactory.html#newTransformerHandler(javax.xml.transform.Source)>).
>
instead of what?
>
> Please be aware than with Xalan (2.7.1 at least) this method may only
> return null if your XSLT is incorrect for some reason (in our case
> this was a namespace used in XPath that never got declared),
can you give a more concrete example?
> instead of complaining loudly, which can be extremly confusing.
which method didn't complain?
Thanks
Michi
>
> HTH,
> Guillaume
More information about the Yanel-development
mailing list