Rahul Akolkar wrote:
On 7/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: oheger
Date: Sat Jul 29 07:52:31 2006
New Revision: 426813
URL: http://svn.apache.org/viewvc?rev=426813&view=rev
Log:
Fixed some problems JDK 1.3 had with our classes
<snip/>
Modified:
jakarta/commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestBaseConfigurationXMLReader.java
<snap/>
+ try
+ {
+ //When executed on a JDK 1.3 this line throws a
NoSuchMethodError
+ //somewhere deep in Xalan. We simply ignore this.
+ trans.transform(source, result);
+ }
+ catch(NoSuchMethodError ex)
+ {
+ return;
+ }
<snip/>
Can you post the trace? (not that its guaranteed to help, but worth a
shot -- if we can make any recommendation to JDK 1.3 users).
-Rahul
Okay, here is the exception trace:
Testcase:
testParse(org.apache.commons.configuration.TestHierarchicalConfigurationXMLReader):
Caused an ERROR
null
java.lang.NoSuchMethodError
at
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:199)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:329)
at
org.apache.commons.configuration.TestHierarchicalConfigurationXMLReader.testParse(TestHierarchicalConfigurationXMLReader.java:58)
Maybe it's just a problem with my setup. I did some digging, but was
unable to solve the problem. For instance I tried newer versions of
Xerces or xmlapis or checked the JDK1.3 directory structure for other
included XML parsers - without success.
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]