Hi, Johannes -
I agree that this is frustrating. org.apache.xalan.utils was an old
package the contents of which were moved to org.apache.xml.utils. It is
possible that somehow a .java file did not get compiled on the build and
that an old .class file remains referring to the now non-existent
class. If that happened, we'll need to review our build procedure.
It is also possible that you have a .jar file in your classpath or your
lib/ext directory that contains an old release and that something is
picked up from there by mistake.
Can you include a stack trace from the thrown exception? Better yet,
can you try your transformation from the command line and verify that
the problem occurs there. Just do
java org.apache.xalan.xslt.Process -in inputfilename.xml -xsl
xsltfilename.xsl -edump
Also, if the problem does occur from there, it would help if you ran the
environment checker:
java org.apache.xalan.xslt.EnvironmentCheck [-out outFile]
and sent the output from that along with the stack trace. If the
problem does not occur at the command line, then a stray .jar in your
classpath is a possible problem.
I don't think you started off negative at all. You identified a problem
and brought it to everyone's attention -- nothing wrong with that.
That's how we'll continue to improve XalanJ!!
Gary
> Johannes Eggers wrote:
>
> Hi all,
>
> I'm new to this list and Xalan, and I don't like to start off
> negative, but these types of issues are very frustrating (and don't
> say a lot for the quality of open source).
>
> Anyhow... something in Xalan 2 seems to refer to (or
> throw) org.apache.xalan.utils.WrappedRuntimeException, but that class
> isn't shipped in the xalan jar, instead it has
> org.apache.xml.utils.WrappedRuntimeException
>
> I'm baffled how this could have ever compiled/built without having had
> old classes or source in the classpath, and if that is the case then
> the way production-builds are being made needs to be revisited.
>
> If I'm missing the obvious, I will take the flames lying down like a
> man !
>
> Thanks,
>
> Johannes
>
> ============================================
> Johannes Eggers The Structure Group
> 2000 W. Sam Houston Parkway, Houston, TX 77042
> www.scgo.com Ph: (713) 243-7194 Fax: (713) 243-7199