{"id":175,"date":"2008-03-22T14:37:13","date_gmt":"2008-03-22T18:37:13","guid":{"rendered":"http:\/\/timony.com\/mickzblog\/2008\/03\/22\/xslt-15-jvms\/"},"modified":"2008-03-22T14:37:13","modified_gmt":"2008-03-22T18:37:13","slug":"xslt-15-jvms","status":"publish","type":"post","link":"http:\/\/timony.com\/mickzblog\/2008\/03\/22\/xslt-15-jvms\/","title":{"rendered":"XSLT &#038; 1.5 JVM&#8217;s"},"content":{"rendered":"<p>Oh bugger!<\/p>\n<blockquote><p>[junitreport] ERROR:  &#8216;Unrecognized XSLTC extension &#8216;org.apache.xalan.lib.Redirect:write&#8221;<\/p>\n<p>BUILD FAILED<\/p>\n<p>Errors while applying transformations: java.lang.RuntimeException: Unrecognized XSLTC extension &#8216;org.apache.xalan.lib.Redirect:write&#8217;<\/p><\/blockquote>\n<p>See <a title=\"Stefan Blog about XSLT and 1.5 jvm's\" href=\"http:\/\/stefan.samaflost.de\/blog\/2004\/10\/29#XSLTC\">http:\/\/stefan.samaflost.de\/blog\/2004\/10\/29#XSLTC<\/a>.<\/p>\n<p>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.<\/p>\n<p>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 <a href=\"http:\/\/saloon.javaranch.com\/cgi-bin\/ubb\/ultimatebb.cgi?ubb=get_topic&amp;f=68&amp;t=001547\">namespace<\/a> used:<\/p>\n<p>From, for example:<\/p>\n<blockquote><p>xmlns:redirect=&#8221;org.apache.xalan.lib.Redirect&#8221;<\/p><\/blockquote>\n<p>to<\/p>\n<blockquote><p>xmlns:redirect=&#8221;http:\/\/xml.apache.org\/xalan\/redirect<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Oh bugger! [junitreport] ERROR: &#8216;Unrecognized XSLTC extension &#8216;org.apache.xalan.lib.Redirect:write&#8221; BUILD FAILED Errors while applying transformations: java.lang.RuntimeException: Unrecognized XSLTC extension &#8216;org.apache.xalan.lib.Redirect:write&#8217; 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 &hellip; <a href=\"http:\/\/timony.com\/mickzblog\/2008\/03\/22\/xslt-15-jvms\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">XSLT &#038; 1.5 JVM&#8217;s<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[63,33],"tags":[66,67,94,144,356,364,502,644,647],"class_list":["post-175","post","type-post","status-publish","format-standard","hentry","category-perl","category-programming","tag-14jvm","tag-15jvm","tag-ant","tag-build","tag-java","tag-jvm","tag-programming","tag-xalan","tag-xslt"],"_links":{"self":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts\/175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/comments?post=175"}],"version-history":[{"count":0,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts\/175\/revisions"}],"wp:attachment":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/media?parent=175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/categories?post=175"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/tags?post=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}