[saxonb] 07/34: Updated to include XQuery in documentation about externeal method invocations
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Fri Apr 6 14:38:52 UTC 2018
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository saxonb.
commit b92b7d2c3eb911ed81d014c998d3d67070c26d1c
Author: Michael Koch <konqueror at gmx.de>
Date: Sat Feb 16 19:13:42 2008 +0000
Updated to include XQuery in documentation about externeal method invocations
---
debian/README.Debian | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/debian/README.Debian b/debian/README.Debian
index 1b80bfd..de52e8d 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -28,21 +28,18 @@ latter will do the same for the XQuery 1.0 processor.
Calls on external Java functions disabled by default
----------------------------------------------------
-By default, the XSLT 2.0 processor of SaxonB enables calls on external Java
-functions to be embedded in stylesheets. Such calls can invoke arbitrary Java
-methods and are thus a security risk when executing untrusted XSLT stylesheets.
-For this reason, SaxonB in Debian comes with calls on external Java functions
-disabled by default.
+By default, SaxonB enables calls on external Java functions to be
+embedded in stylesheets or queries. Such calls can invoke arbitrary
+Java methods and are thus a security risk when executing untrusted
+XSLT stylesheets of XQuery queries. For this reason, SaxonB in Debian
+comes with calls on external Java functions disabled by default.
-If you are using the command line interface of the XSLT 2.0 processor of Saxon,
-you can enable this feature by passing the "-ext:on" flag to your command line
-invocation. For example:
-
- CLASSPATH=/usr/share/java/saxonb.jar \
- java net.sf.saxon.Transform -ext:on -s:input.xml -xsl:style.xsl -o:output.xml
+If you are using the command line interface to the XSLT 2.0 or XQuery
+processors of Saxon, you can enable this feature by passing the
+"-ext:on" flag to your command line invocation.
If you are using SaxonB from its Java API you should set the Attribute
-"FeatureKeys.ALLOW_EXTERNAL_FUNCTIONS" to "true". See the API reference in the
-libsaxonb-java-doc package for more information.
+"FeatureKeys.ALLOW_EXTERNAL_FUNCTIONS" to "true". See the API
+reference in the libsaxonb-java-doc package for more information.
-- Stefano Zacchiroli <zack at debian.org> Fri, 15 Feb 2008 14:47:43 +0100
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/saxonb.git
More information about the pkg-java-commits
mailing list