Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.6
-
None
-
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()