Oh bugger!

[junitreport] ERROR: ‘Unrecognized XSLTC extension ‘org.apache.xalan.lib.Redirect:write”

BUILD FAILED

Errors while applying transformations: java.lang.RuntimeException: Unrecognized XSLTC extension ‘org.apache.xalan.lib.Redirect:write’

See http://stefan.samaflost.de/blog/2004/10/29#XSLTC.

Basically, if your using XSLT transformations with a 1.4 JVM and upgrade to a 1.5 JVM, you will get errors because 1.5 JVMs use a different XSLTC transformer.

You can either try and force your build to use Xalan-J, instead of the one packaged with the 1.5 JVM. Or, change the namespace used:

From, for example:

xmlns:redirect=”org.apache.xalan.lib.Redirect”

to

xmlns:redirect=”http://xml.apache.org/xalan/redirect


No Responses to “XSLT & 1.5 JVM’s”  

  1. No Comments

Leave a Reply



Dark Sky Over KenmoreSunset over the Charles riverMisty day in BostonSunset over Donegal Bay.Er ...Bye bye Ireland

Recently Played Tunes

  • Rufus Wainwright Rufus Wainwright
    13 May 2012
    12:24 am

  • Sting Sting
    13 May 2012
    12:13 am

  • Sasha & John Digweed Sasha & John Digweed
    28 Apr 2012
    7:46 pm

Google Search

Google

Categories