Hi there,
I'm having a problem compiling an XSL-stylesheet using JAXP/Xalan which is
really driving me nuts...
When I try to compile a stylesheet that contains something like:
<xsl:value-of select="encode-for-uri(/bla)"/>
then I get a TransformerConfigurationException saying that there was an
error while checking the type of the expression "funcall(encode-for-uri
....)". I don't know the exact error message, as the message I get is in
German for some reason (literally it says "Fehler beim Überprüfen des Typs
des Ausdrucks").
I suppose that the reason for this is that encode-for-uri() returns an
xs:string and @select expects a node-set, and it cannot convert between the
two. Or it is having a problem with the xs:string type in general, since it
does not say something like "cannot cast xs:string to whatever".
If anybody knows how to solve this problem, please let me know, as I've
already spent a few hours on this and I'm really frustrated ;-).
Regards,
Felix