Summary: | junitreport doesn't work with Xalan 2.2/Java 1.4.1 | ||
---|---|---|---|
Product: | Ant | Reporter: | Robert Watkins <robert.watkins> |
Component: | Optional Tasks | Assignee: | Ant Notifications List <notifications> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | rumster |
Priority: | P3 | ||
Version: | 1.6.2 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | other | ||
URL: | http://twasink.net/blog/archives/2004/07/ant_162_junitre.html |
Description
Robert Watkins
2004-07-20 06:00:42 UTC
It's indeed extremely annoying but unfortunately there is not much to do as we had to take a decision to support Xalan as bundled in the upcoming JDK 1.5 and I could not find a way to support both kind of directives. See PR 27541 for more information You can however specify the deprecated xsl in ${ant.home}/etc/junit-frames- xalan1.xsl I had a quick look at Xalan CVS, and looks like the new namespace was used starting from Xalan 2.4.1 (and JDK 1.4.2-01): http://cvs.apache.org/viewcvs.cgi/xml- xalan/java/src/org/apache/xalan/lib/Redirect.java This was more a suggestion to update the doco; it was rather surprising to stumble over it. The release notes, for example, made it clear that Xalan 1 was not supported, but doesn't say that earlier versions of Xalan 2 won't work either. Given the two workarounds (update Xalan or use the old stylesheet) I see no reason to try and make it work with Xalan 2.2, but I do recommend the doco be updated. The reason it is not in the doc is simple. We did not know about it as apparently everyone involved with this fix was running 1.4.2.01+ and it is extremely painful and time consuming to support dozen of versions of products that are not backward compatible. I have updated the docs in CVS to give more information though. Thanks. |