[jdom-interest] Slower Transform using to use JDOMSource than DOMOutputter + DOMSource. Why??

Laurent Bihanic laurent.bihanic at atosorigin.com
Tue Jul 30 08:01:50 PDT 2002

Maybe it's just a problem with Xalan: maybe it requires a DOM document to work on.
You should run the test with Saxon (smaller, faster and lot more stable than 
Xalan). If using JDOMSource does not then prove faster than going through 
DOMOutputter, there's really a problem in JDOMSource!


s s wrote:
> hmmm... I am not sure if the problem is with DocType information since I 
> have none declared in my xml files.
> The problem as I had initially stated was that (by my tests) it was 
> faster to convert a JDOM document to DOM and then using DOMSource to 
> transform (Xalan-J2 XSLT processor) it into HTML. Rather than just 
> feeding the JDOM document through with JDOMSource into the transformer.
> Does this mean I should change my code to use DOM instead of JDOM to 
> gain speed performance in the transformation? But that's a pain!
> thanks again,
> sean.

More information about the jdom-interest mailing list