xalan

Xalanのエラーメッセージが不親切すぎてストレス半端ないのでプロセッサをSaxonに切り替える

System.setProperty("javax.xml.transform.TransformerFactory", "net.sf.saxon.TransformerFactoryImpl"); これだけで、おk。他のコードは共通でいい。

import/includeを使おうとするとMalformedURLExceptionが出る件

StreamSource xsl = new StreamSource("hoge.xsl"); これだとエラーになって、 StreamSource xsl = new StreamSource(new File("hoge.xsl")); だと、ちゃんとパスが解決できる。……

XalanでJavaScriptを動かすときに必要なjarファイル

bsf.jar Apache Commons BSF™ - Bean Scripting Framework commons-logging.jar Apache Commons Logging - Overview js.jar Download Rhino - Mozilla | MDN xalan.jar Xalan-Java Version 2.7.1