bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug xml/23341] [XML] ClassCastException with javax.xml.transform.Transf


From: WBaer at gmx dot de
Subject: [Bug xml/23341] [XML] ClassCastException with javax.xml.transform.TransformerFactory
Date: 13 Dec 2005 11:15:27 -0000


------- Comment #3 from WBaer at gmx dot de  2005-12-13 11:15 -------
Hi Chris,

I don't know what you mean by "Conformant JAXP API clients must check whether
features are supported.". I am not so comfort with xml.

However this code can be found in upstream projects. It may be wrong
code (because they assume usage of Xerces - where always a 
SaxTransformerFactory implementation seems to be used) but its used.

Beside that somehow it must be possible to obtain a SAXTransformerFactory.
If not through casting than how else. All my textbooks about XML give me
this way to obtain a SAXTransformerFactory:

SAXTransformerFactory factory = 
   (SAXTransformerFactory)TransformerFactory.newInstance();


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23341





reply via email to

[Prev in Thread] Current Thread [Next in Thread]