From: AUBRY, S. (COFRAMI) <ste...@ai...> - 2005-11-10 10:56:21
|
Hi David, Ok, I corrected the problem. In a Windows application, the Url must begin by "file:///" value. Example : StreamSource inputXml_Source = new StreamSource(new java.io.FileInputStream(inXML)); inputXml_Source.setSystemId("file:\\\\\\"+inXML); StreamSource inputXsl_Source = new StreamSource(new java.io.FileInputStream(inXSL)); inputXsl_Source.setSystemId("file:\\\\\\"+inXSL); StreamWriter sw = new StreamWriter(output); sw.Write(DoTransform(inputXml_Source, inputXsl_Source)); sw.Close(); But, now I have a new problem. My XML File is large (150 Mo) and a new exception appear when i execute my application "java.lang.runtimeException : dispatchEvent capture stack size" Thanks for your help, Stephane This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the information in it. If you have received it in error please delete it and immediately notify the sender. Security Notice: all e-mail, sent to or from this address, may be accessed by someone other than the recipient, for system management and security reasons. This access is controlled under Regulation of Investigatory Powers Act 2000, Lawful Business Practises. |