The output from EnvironmentCheck shows that you have several errors
that you'll need to clear up first.  It seems like you have an old
version of JAXP, which may include some outdated classes that are
causing the error, and you have some non-standard version of xerces
which may also cause problems.

The first thing to do is setup an environment which lists the correct
versions of xalan.jar and xerces.jar *first* in your classpath, and try
running a small version of your application from the command line - not
from Ant.  If this works normally, then the problem is somehow with
other classes on your classpath that are being loaded instead of the
correct ones from your 2.1.x Xalan distribution.

Ant hint: you should be able to use xerces.jar as the parser for Ant,
instead of the outdated parser.jar/jaxp.jar that come with older Ant
builds.

- Shane
---- you <[EMAIL PROTECTED]> wrote ----
I tried to run org.apache.xalan.EnvironmentCheck
application wich generated the following output: #---- BEGIN
writeEnvironmentReport($Revision: 1.3 $): Useful properties
found: ----
ERROR.version.JAXP=1.0.1
java.version=1.3.0_02
#---- BEGIN Listing XML-related jars in: foundclasses.java.class.path
----
jaxp.jar.apparent.version=jaxp.jar from jakarta-ant-1.3 or 1.2
jaxp.jar.path=/usr/local/jakarta-ant-1.3/lib/jaxp.jar
parser.jar.apparent.version=parser.jar from jakarta-ant-1.3 or 1.2
parser.jar.path=/usr/local/jakarta-ant-1.3/lib/parser.jar
xerces.jar.apparent.version=xerces.jar potential-ERROR
present-unknown-version
xerces.jar.path=/usr/local/classes/xerces.jar
xalan.jar.apparent.version=xalan.jar from xalan-j_2_1_0
xalan.jar.path=/usr/local/classes/xalan.jar
#----- END Listing XML-related jars in: foundclasses.java.class.path
-----
java.ext.dirs=/usr/java/jdk1.3.0_02/jre/lib/ext
version.crimson=not-present
java.class.path=/usr/java/jdk1.3.0_02/bin/:/usr/local/jakarta-ant-
1.3/lib/ant.jar:/usr/local/jakarta-ant-1.3/lib/jaxp.jar:/usr/local/jakarta-
version.xerces=Xerces 1.4.3
sun.boot.class.path=/usr/java/jdk1.3.0_02/jre/lib/rt.jar:/usr/java/jdk1.3.0_
02/jre/lib/i18n.jar:/usr/java/jdk1.3.0_02/jre/lib/sunrsasign.jar:
version.xalan2=Xalan;Java;2.1.0;
version.xalan1=not-present
ERROR.version.DOM=ERROR attempting to load DOM level 2 class:
java.lang.NoSuchMethodException
#----- END writeEnvironmentReport: Useful properties found: --

=====
<eof aka="mailto:[EMAIL PROTECTED]"
 quote="A mirror is like a window on the other side of behind you."/>

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

Reply via email to