<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>jdom-contrib</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=2 FACE="Arial">Is there a stable jdom-contrib binary that is available for download?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I downloaded the code and compiled it, but upon running the sample program</FONT>
<BR><FONT SIZE=2 FACE="Arial">(jdom-contrib/samples) XSLTransform&nbsp; I received an IllegalAccessError:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">java.lang.IllegalAccessError: try to access class org.jdom.input.SAXHandler from</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;class org.jdom.contrib.transform.JDOMResult$DocumentBuilder</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.jdom.contrib.transform.JDOMResult$DocumentBuilder.startDocument(JDOMResult.java:258)</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xalan.transformer.QueuedStartDocument.flush(QueuedStartDocument.java:108)</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTreeHandler.java:754)</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xalan.transformer.ResultTreeHandler.characters(ResultTreeHandler.java:441)</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xml.utils.FastStringBuffer.sendSAXcharacters(FastStringBuffer.java:785)</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xalan.stree.TextImpl.dispatchCharactersEvent(TextImpl.java:158)</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:449)</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:498)</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2202)</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2085)</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1219)</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2942)</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Modifying the code to use StreamResult instead of JDOMResult works.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Michael</FONT>
</P>

</BODY>
</HTML>