PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2961 *** shadow/2961 Wed Aug 1 23:50:04 2001 --- shadow/2961.tmp.4761 Wed Aug 1 23:50:04 2001 *************** *** 0 **** --- 1,89 ---- + +============================================================================+ + | TransformerException with resin in TransformerImpl.transform | + +----------------------------------------------------------------------------+ + | Bug #: 2961 Product: XalanJ2 | + | Status: NEW Version: 2.0.0 | + | Resolution: Platform: PC | + | Severity: Normal OS/Version: Windows NT/2K | + | Priority: Other Component: org.apache.xalan.transf | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Hello, + + i use resin 1.2.7 and want to parse a XML-File with Xalan. If I parse without + resin, everythings works fine. But if I worke with resin I get the Error + Message: + + javax.xml.transform.TransformerException: + http://xml.org/sax/handlers/LexicalHandler + at + org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:664) + at org.apache.xalan.transformer.TransformerImpl.transform + (TransformerImpl.java:1118) + at + de.healyhudson.edge.transport.xslt.transform.XSLTTransformer.transform + (XSLTTransformer.java:151) + at + de.healyhudson.edge.transport.xslt.XSLTransporter.<init> + (XSLTransporter.java:447) + at de.ecosx.ecos.imprt.user.CostUnitImport.runTask + (CostUnitImport.java:351) + at de.ecosx.task.executor.AbstractExecutor.run + (AbstractExecutor.java:306) + --------- + org.xml.sax.SAXNotSupportedException: + http://xml.org/sax/handlers/LexicalHandler + at com.caucho.xml.AbstractParser.setProperty + (AbstractParser.java:307) + at + org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:560) + at + org.apache.xalan.transformer.TransformerImpl.transform + (TransformerImpl.java:1118) + at + de.healyhudson.edge.transport.xslt.transform.XSLTTransformer.transform + (XSLTTransformer.java:151) + at + de.healyhudson.edge.transport.xslt.XSLTransporter.<init> + (XSLTransporter.java:447) + at de.ecosx.ecos.imprt.user.CostUnitImport.runTask + (CostUnitImport.java:351) + at de.ecosx.task.executor.AbstractExecutor.run + (AbstractExecutor.java:306) + + XSLT Error (javax.xml.transform.TransformerException): + http://xml.org/sax/handlers/LexicalHandler + Resin 1.2.7 (built Thu May 31 11:35:28 PDT 2001) + Copyright(c) 1998-2001 Caucho Technology. All rights reserved. + + This always happens when in the XConnection the following Method was called. + transformer.transform(new StreamSource(inFileName),result); + + I tried to set the xmlReader with + XMLReader reader = XMLReaderFactory.createXMLReader (); + reader.setContentHandler (contentHandler); + SAXResult result = new SAXResult(contentHandler); + SAXSource saxSource = new SAXSource(reader,inputSource); + + + but I get the same Error. It seems like he calls the Class TransformerImpl from + caucho instead of the Class TransformerImpl from Xalan. Did anybody know a + solution for the Problem + + Thanks for Help + + Claus Veith + + + + + + Thanks for Help + + Claus Veith \ No newline at end of file
