[pkg-java] r5719 - in trunk/saxonb/debian: . scripts
mkoch at alioth.debian.org
mkoch at alioth.debian.org
Fri Feb 15 20:40:24 UTC 2008
Author: mkoch
Date: 2008-02-15 20:40:24 +0000 (Fri, 15 Feb 2008)
New Revision: 5719
Added:
trunk/saxonb/debian/libsaxonb-java.install
trunk/saxonb/debian/scripts/
trunk/saxonb/debian/scripts/saxonb-xquery
trunk/saxonb/debian/scripts/saxonb-xslt
Modified:
trunk/saxonb/debian/README.Debian
trunk/saxonb/debian/changelog
Log:
* Added helpers to call XSLT and XQuery processors and documentation about
them in README.Debian. Closes: #465894.
Modified: trunk/saxonb/debian/README.Debian
===================================================================
--- trunk/saxonb/debian/README.Debian 2008-02-15 20:18:22 UTC (rev 5718)
+++ trunk/saxonb/debian/README.Debian 2008-02-15 20:40:24 UTC (rev 5719)
@@ -1,3 +1,30 @@
+Command line XSLT 2.0 and XQuery 1.0 processing
+-----------------------------------------------
+
+To invoke the XSLT 2.0 processor from the command line you can execute the
+following command:
+
+ CLASSPATH=/usr/share/java/saxonb.jar \
+ java net.sf.saxon.Transform -s:input.xml -xsl:style.xsl -o:output.xml
+
+similarly, XQuery 1.0 processing can be invoked with:
+
+ CLASSPATH=/usr/share/java/saxonb.jar \
+ java net.sf.saxon.Query query.xq
+
+In both cases, try -help to see other available options and see the command
+line reference manual available in the libsaxonb-java-doc package.
+
+Debian-specific helpers are provided to ease the invocations:
+
+ saxonb-xslt [OPTIONS ...]
+ saxonb-xquery [OPTIONS ...]
+
+the former will invoke the XSLT 2.0 processor passing it all given options, the
+latter will do the same for the XQuery 1.0 processor.
+
+ -- Stefano Zacchiroli <zack at debian.org> Fri, 15 Feb 2008 15:04:41 +0100
+
Calls on external Java functions disabled by default
----------------------------------------------------
Modified: trunk/saxonb/debian/changelog
===================================================================
--- trunk/saxonb/debian/changelog 2008-02-15 20:18:22 UTC (rev 5718)
+++ trunk/saxonb/debian/changelog 2008-02-15 20:40:24 UTC (rev 5719)
@@ -3,6 +3,8 @@
* Disabled external method invocation by default, as it is insecure.
See README.Debian how to enable this if needed. Closes: #465885.
Thanks to Stefano Zacchiroli for the patch.
+ * Added helpers to call XSLT and XQuery processors and documentation about
+ them in README.Debian. Closes: #465894.
-- Michael Koch <konqueror at gmx.de> Fri, 15 Feb 2008 21:25:48 +0100
Added: trunk/saxonb/debian/libsaxonb-java.install
===================================================================
--- trunk/saxonb/debian/libsaxonb-java.install (rev 0)
+++ trunk/saxonb/debian/libsaxonb-java.install 2008-02-15 20:40:24 UTC (rev 5719)
@@ -0,0 +1,2 @@
+debian/scripts/saxonb-xquery /usr/bin
+debian/scripts/saxonb-xslt /usr/bin
Added: trunk/saxonb/debian/scripts/saxonb-xquery
===================================================================
--- trunk/saxonb/debian/scripts/saxonb-xquery (rev 0)
+++ trunk/saxonb/debian/scripts/saxonb-xquery 2008-02-15 20:40:24 UTC (rev 5719)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec java -classpath /usr/share/java/saxonb.jar net.sf.saxon.Query "$@"
Added: trunk/saxonb/debian/scripts/saxonb-xslt
===================================================================
--- trunk/saxonb/debian/scripts/saxonb-xslt (rev 0)
+++ trunk/saxonb/debian/scripts/saxonb-xslt 2008-02-15 20:40:24 UTC (rev 5719)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec java -classpath /usr/share/java/saxonb.jar net.sf.saxon.Transform "$@"
More information about the pkg-java-commits
mailing list