
There are two xslt files, and two other-input files.
One of the xslt files uses xsltc:cast to cast one the extension-class param to the right class.
The other xslt file is identical, except for the removal of the cast, required for it to work with regular Xalan.

There are two "other" input files.
One has namespaces on all elements and attributes.
The other has namespaces on only the elements.

Of the four commands below, all work, except the last.
The first two use plain Xalan, with both other-input files.
The last two use XSLTC, with both other-input files.
The only case that fails is XSLTC with the other-input file that has namespaces on the attributes.

Note: The version of Xalan in the lib directory is 2.5.2, from xalan-j-current-bin.tar.gz.  The Xerces and XML jars are from the same tar.
When executing the commands below, I have my classpath configured to use those jars.

java Test other.xml test.xslt
java Test other-ns.xml test.xslt

java -Djavax.xml.transform.TransformerFactory=org.apache.xalan.xsltc.trax.TransformerFactoryImpl Test other.xml test-xsltc.xslt
java -Djavax.xml.transform.TransformerFactory=org.apache.xalan.xsltc.trax.TransformerFactoryImpl Test other-ns.xml test-xsltc.xslt

