I'm trying to use compiled stylesheets with the command-line utility in xalan-j_1_2_2. Once I use -lxcout flag, I get the message: Error! org.apache.xalan.xslt.ExtensionNSHandler Xalan: was not successful. but the compiled stylesheet is created. If I use -lxcin flag after that, I got the message: Error! Writing aborted by exception; java.io.NotSerializableException: org.apache.xalan.xslt.ExtensionNSHandler Xalan: was not successful. This bug is reported as fixed in 1.2.2 :(. Very strange that the size of bsf.jar is the same in 1.2 and 1.2.2: $ ll xalan-j_1_2_2/bsf.jar -rw-r--r-- 1 krasnov ncbi 102054 Dec 1 16:12 xalan-j_1_2_2/bsf.jar $ ll xalan-j_1_2/bsf.jar -rw-rw-r-- 1 krasnov ncbi 102054 Oct 13 17:14 xalan-j_1_2/bsf.jar Thanks Sergey Krasnov