DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27541>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27541 JunitReport task fails under JDK 1.5 ------- Additional Comments From [EMAIL PROTECTED] 2004-06-03 00:24 ------- Ok I found what is the root cause of the exception in Xalan. That's a bug in JDK 1.5B1 for java.util.Properties as they completely rewrote it and a comment is only considered if it is a newline, in our case, the comment ends up as a property. I could not check for B2 but it does work fine for JDK 1.4 of course. For a quick'n dirty fix for JDK 1.5: In xalan.jar extract the file org/apache/xml/serializer/Encoding.properties You will notice that the last line is # can be found at http://www.iana.org/assignments/character-sets Add an extra line feed at the end of this line. Run your JVM 1.5 with system property: -Dorg.apache.xalan.serialize.encodings=file://my/path/to/Encodings.properties --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]