[jdom-interest] jdom-contrib

Sexton Michael msexton at olympusgroup.com
Mon May 7 13:50:21 PDT 2001


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(JDOMResu
lt.java:258)
        at
org.apache.xalan.transformer.QueuedStartDocument.flush(QueuedStartDocument.j
ava:108)
        at
org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTreeHandle
r.java:754)
        at
org.apache.xalan.transformer.ResultTreeHandler.characters(ResultTreeHandler.
java:441)
        at
org.apache.xml.utils.FastStringBuffer.sendSAXcharacters(FastStringBuffer.jav
a:785)
        at
org.apache.xalan.stree.TextImpl.dispatchCharactersEvent(TextImpl.java:158)
        at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja
va:449)
        at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:193)
        at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja
va:498)
        at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:193)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2202)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer
Impl.java:2085)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1219)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2942)

Modifying the code to use StreamResult instead of JDOMResult works.

Michael

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20010507/e50d82b4/attachment.htm


More information about the jdom-interest mailing list