This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Strange intermittent exceptions from Xalan


Hi Johannes,

I've found that it might be an issue with the way Xalan is being used by the
Appserver and permissions.  I've now changed the code to be:

InputStream is = xslURL.openStream ();
Transformer transformer = tFactory.newTransformer(new StreamSource(is));

This now works as the web application is then opening the stream (and not
StreamSource).  However, it still doesn't explain the intermittent failure,
but I am happy that it now loads the XSL correctly.

I could obtain the file and pass that, but the static XSL is packed up as a
Web Archive.  By requesting the file via HTTP it loads the XSL from the
archive and returns it back via HTTP.  

Thanks for your input and help.

Regards,
Peter


******************************************************************************

Check us out at http://www.syntegra.com

***********************************************************************

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]