[jdom-interest] JDOMSource and Oracle TRAX implementation

Jason Hunter jhunter at acm.org
Fri Nov 15 12:55:42 PST 2002

> I am currently trying to use JDOM with the Oracle XSLT TRAX
> implementation. My issue is that I get a weird "class cast" exception
> when passing in the JDOMSource adaptor object to the Oracle XSLT
> transformer implementation thus:

Sometimes this has to do with classpath/classloader issues.  The same
class loaded by two different class loaders is not seen as the same

> This works fine if I switch back to the Xalan TRAX implementation
> instead of Oracle. It also works fine if I use a simple XML String
> stream source object instead of a JDOM wrapper.

Easy solution is to use the stream source?  Some people have found
streams faster than SAX (go figure).


More information about the jdom-interest mailing list