It is hard to determine if this bug if valid or not without a sample xsl/xml pair.
However, it is likely to be invalid for the following reasons:
1) Conversions of Java types to XSLT types like node-set are outside the scope
of the XSLT 1.0 specification. The stylesheet is most likely using extension
2) Conversions in extensions functions are only supported for types implementing
The fact that this may work with Xalan DOES NOT mean it is a bug in XSLTC. These
are two different processors that are only guaranteed to be compatible with
respect to the XSLT 1.0 specification. Any feature outside this specification
is not guaranteed to be portable across processors.