[ http://issues.apache.org/jira/browse/XALANJ-403?page=all ]

Brian Minchau updated XALANJ-403:
---------------------------------

    Version: Latest Development Code
                 (was: 2.0.0)

> TransformerException with resin in TransformerImpl.transform
> ------------------------------------------------------------
>
>          Key: XALANJ-403
>          URL: http://issues.apache.org/jira/browse/XALANJ-403
>      Project: XalanJ2
>         Type: Bug
>   Components: transformation, Xalan-interpretive
>     Versions: Latest Development Code
>  Environment: Operating System: Windows NT/2K
> Platform: PC
>     Reporter: claus.veith
>     Assignee: Xalan Developers Mailing List

>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to