Hi,

 

            I am getting the following error, when I try to upgrade the version to xalan 2.7.0. I am using the xml-apis.jar and xercesImpl.jar that comes along with the xalan2.7.0. The Java version is 1.4.2_08 and I am using jdom b7.

 

The below code works fine with standalone java application, but if this code is deployed in iplanet webserver, I am getting this error, java.lang.RuntimeException: Error in building: SAX2 driver class org.apache.xerces.parsers.SAXParser does not implement XMLReader

 

 

            InputStream istream = getClass().getResourceAsStream("stylesheet.xsl");

                        StringWrite soapMessage = new StringWriter();

                        TransformerFactory tFactory = TransformerFactory.newInstance();

                        StreamSource ss = new StreamSource(istream);

                        Transformer transformer = tFactory.newTransformer(ss);

                        sr = new StringReader(response);

                        transformer.transform(new StreamSource(sr), new StreamResult(soapMessage));

 

 

            Could you please help me to solve this issue? Where else I need to include the new jars apart from the classpath?

 

 

 

Regards

Suganthi Muthuramu

 

Reply via email to