M
Moiristo
I have a web application that performs an XML transformation with an
XSLT style sheet. It uses standard transformation classes from
jax.xml.transform, Transformer and TransformerFactory. The result is
saved in a StreamResult object.
Strange thing is, the first time when I perform a transformation, the
XSL (not the XML) Document is written to the StreamResult. On retry, it
works fine. I think it has something to do with the Tomcat classloader.
Does anyone have another ideas on this (and possibly, a solution)?
XSLT style sheet. It uses standard transformation classes from
jax.xml.transform, Transformer and TransformerFactory. The result is
saved in a StreamResult object.
Strange thing is, the first time when I perform a transformation, the
XSL (not the XML) Document is written to the StreamResult. On retry, it
works fine. I think it has something to do with the Tomcat classloader.
Does anyone have another ideas on this (and possibly, a solution)?