I was just told, that the -ext option enables the extension functions. In fact, the stylesheet is processed correctly, now:
$ saxonb-xslt -ext:on -xsl:test.xsl -s:test.xml In retrospect, I would ask, if this situation could be expressed more clearly in the manual page. Actually, it reads like: -ext: {[on] | [off]} Enable or disable the ability to invoke external Java functions from query files and stylesheets. Beware that enabling them is a potential security risk when processing untrusted files. Default: off. But since I was trying to use a standard XSLT function (xsl:result- document), and not an arbitrary Java function, I didn't guess that this -ext option was the key to this problem. Maybe a description near the top, like the following could help: "Some instructions like xsl:result-document require the -ext option to be enabled." If that is not possible, at least the terminology should be unified: The error message complains about disabled "extension functions", while the manual page describes "external Java functions". Thank you! -- extension functions disabled in Saxon B XSLT 2.0 processor https://bugs.launchpad.net/bugs/412517 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs