It seems to me that problem is in Xalan 2.5.2 class org.apache.xml.serializer.Encodings.
There in method: private static EncodingInfo[] loadEncodingInfo()
how it reads properties from file Encodings.properties is not working with jdk1.5.0 anymore.

In this Encodings.properties file's last line is: # can be found at http://www.iana.org/assignments/character-sets

Quote from code:
// Seems to be no real need to force failure here, let the
// system do its best... The issue is not really very critical,
// and the output will be in any case _correct_ though maybe not
// always human-friendly... :)
// But maybe report/log the resource problem?
// Any standard ways to report/log errors (in static context)?

So workaround add JAVA_HOME\jre\lib\endorsed directory and add there latest xalan.jar and delete this Encodings.properties file from the
xalan.jar then it works.

Rgds Markku

James Black wrote:

-----Original Message-----

From: Jacob Kjome [mailto:[EMAIL PROTECTED]

Sent: Thursday, December 25, 2003 11:16 AM

To: Ant Users List

Subject: Re: ExceptionInIntializerError using jdk1.5alpha

Did you put the latest xalan-2.5.2.jar in JAVA_HOME/jre/lib/endorsed? If

not, you should do that since the JDK comes with an old buggy version of

Xalan....although they might have updated it for JDK1.5. Still, can't


to have the latest and greatest in the endorsed directory.

[junitreport] Using Xalan version: Xalan Java 2.5.2

Caused by: java.lang.NumberFormatException: For input string: "be found at


at java.lang.Integer.parseInt(Integer.java:446)

at java.lang.Integer.valueOf(Integer.java:525)

at java.lang.Integer.decode(Integer.java:903)


This is with ant 1.6.0

 Any other suggestions? Is this a problem for xalan, and is there a mailing
list to mention it to them.

" Work like you don't need the money, love like you've never been hurt, and
dance like no one is watching."

--- Satchel Paige

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to