[pkg-java] r5730 - trunk/saxonb/debian
mkoch at alioth.debian.org
mkoch at alioth.debian.org
Sat Feb 16 19:13:42 UTC 2008
Author: mkoch
Date: 2008-02-16 19:13:42 +0000 (Sat, 16 Feb 2008)
New Revision: 5730
Modified:
trunk/saxonb/debian/README.Debian
Log:
Updated to include XQuery in documentation about externeal method invocations
Modified: trunk/saxonb/debian/README.Debian
===================================================================
--- trunk/saxonb/debian/README.Debian 2008-02-16 19:09:10 UTC (rev 5729)
+++ trunk/saxonb/debian/README.Debian 2008-02-16 19:13:42 UTC (rev 5730)
@@ -28,21 +28,18 @@
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:
+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.
- 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 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
More information about the pkg-java-commits
mailing list