|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








