[Bug 412517] Re: extension functions disabled in Saxon B XSLT 2.0 processor

Jerzy Jalocha N jjalocha at gmail.com
Wed Aug 12 13:50:47 UTC 2009


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 at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list