Register / Login
Win a copy of
Svelte and Sapper in Action
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
XML and Related Technologies
posted 10 years ago
I'm trying to parse an xml file on my server but I keep getting a TransformerConfigurationException with no detail as to what is causing the problem.
Here is where the exception occurs:
Templates stylesheet = factory.newTemplates(xslSource);
I am using IBM
1.4.2 on the server (This was parsing correctly at some point in the past).
I just tested this on my desktop with Sun Java 1.6 and it worked fine.
This is how I get the xslSource:
StreamSource xslSource = new StreamSource("/var/www/webapp/WEB-INF/xsl/myxsl.xsl");
I have verified the path to the xsl file is correct.
Has anyone seen this before?
How can I get some details about what is causing the exception?
I need a new interior decorator. This tiny ad just painted every room in my house purple.
the value of filler advertising in 2020
Boost this thread!
problem in Transformation
creating pdf,xml,doc file using servlet
converting XML with XSLT
Apply XSL to XML (Java)
XML and XSLT to generate XHTML