[jdom-interest] jdom-contrib

Jason Hunter jhunter at acm.org
Mon May 7 16:26:29 PDT 2001


The latest jdom-contrib module builds against the latest jdom module. 
You're using beta6.

-jh-

> Sexton Michael wrote:
> 
> Is there a stable jdom-contrib binary that is available for download?
> 
> I downloaded the code and compiled it, but upon running the sample
> program
> (jdom-contrib/samples) XSLTransform  I received an IllegalAccessError:
> 
> java.lang.IllegalAccessError: try to access class
> org.jdom.input.SAXHandler from
>  class org.jdom.contrib.transform.JDOMResult$DocumentBuilder
>         at
> org.jdom.contrib.transform.JDOMResult$DocumentBuilder.startDocument(JDOMResult.java:258)
> 
>         at
> org.apache.xalan.transformer.QueuedStartDocument.flush(QueuedStartDocument.java:108)
> 
>         at
> org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTreeHandler.java:754)
> 
>         at
> org.apache.xalan.transformer.ResultTreeHandler.characters(ResultTreeHandler.java:441)
> 
>         at
> org.apache.xml.utils.FastStringBuffer.sendSAXcharacters(FastStringBuffer.java:785)
> 
>         at
> org.apache.xalan.stree.TextImpl.dispatchCharactersEvent(TextImpl.java:158)
> 
>         at
> org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:449)
> 
>         at
> org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
> 
>         at
> org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:498)
> 
>         at
> org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
> 
>         at
> org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2202)
> 
>         at
> org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2085)
> 
>         at
> org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1219)
> 
>         at
> org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2942)
> 
> Modifying the code to use StreamResult instead of JDOMResult works.
> 
> Michael



More information about the jdom-interest mailing list