I am running Xalan 2.3.1 and I am having problems when I try to create the transformer. This code was working before I downloaded 2.3.1. I've attached the xsl file, though I haven't made any changes to it in over a week. If you need the input file, I can send that too, but it doesn't even appear to be getting to the transform() method.
-----------------------Code snippet-----------------------
try{
tFactory = TransformerFactory.newInstance();
transformer = tFactory.newTransformer(new
StreamSource(xslFile)); //It bombs here
transformer.transform(new StreamSource(xmlIn),
new StreamResult(new FileOutputStream(xmlOut)));
} catch (Exception ex) {
log.error("Transformer perform: " + ex.getMessage());
}
-----------------------End code-------------------------
The error that I get is:
XSL-1108: (Error) Invalid Source - URL format is incorrect.
TIA,
Mark Yanker
<<ANNUAL_HTML.XSL>>
**************************************************************************************************************************************************
"The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential, proprietary, and/or privileged
material. Any review, retransmission, dissemination or other use of, or taking
of any action in reliance upon, this information by persons or entities other
than the intended recipient is prohibited. If you received this in error,
please contact the sender and delete the material from all computers."
ANNUAL_HTML.XSL
Description: Binary data
