You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "PJ Fanning (JIRA)" <xa...@xml.apache.org> on 2005/02/21 12:11:49 UTC

[jira] Updated: (XALANJ-2063) ClassCastException in org.apache.xalan.xsltc.trax.TransformerFactoryImpl

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

PJ Fanning updated XALANJ-2063:
-------------------------------

    Attachment: cdcatalog.xsl

sample xsl file

> ClassCastException in org.apache.xalan.xsltc.trax.TransformerFactoryImpl
> ------------------------------------------------------------------------
>
>          Key: XALANJ-2063
>          URL: http://issues.apache.org/jira/browse/XALANJ-2063
>      Project: XalanJ2
>         Type: Bug
>   Components: transformation
>     Versions: 2.6
>  Environment: Windows XP, JDK1.5.0_01
>     Reporter: PJ Fanning
>  Attachments: cdcatalog.xsl
>
> Occurs in method newTransformerHandler(Templates templates). There is a cast to TransformerImpl. There is more than one class shipped in the xalan jar that subclasses javax.xml.transform.Transformer.
> The background to this is that I created the Templates object using a different TransformerFactory (also a Xalan factory).
> The factory used to create the templates object was created using:
> javax.xml.transform.TransformerFactory#newInstance()
> The factory used to create the transformer handler object was created using:
> javax.xml.transform.SAXTransformerFactory#newInstance()

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org