Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-2063

ClassCastException in org.apache.xalan.xsltc.trax.TransformerFactoryImpl

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.6
    • None
    • transformation
    • Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
    • None
    • Windows XP, JDK1.5.0_01

    Description

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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ramesh.mandava@sun.com Ramesh Mandava
            fanningpj PJ Fanning

            Dates

              Created:
              Updated:

              Slack

                Issue deployment