This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository saxonb.
commit 733af8663cfb6c8c050877c8c28cfd1f65551aea Author: Michael Koch <konque...@gmx.de> Date: Fri Feb 15 20:40:24 2008 +0000 * Added helpers to call XSLT and XQuery processors and documentation about them in README.Debian. Closes: #465894. --- debian/README.Debian | 27 +++++++++++++++++++++++++++ debian/changelog | 2 ++ debian/libsaxonb-java.install | 2 ++ debian/scripts/saxonb-xquery | 3 +++ debian/scripts/saxonb-xslt | 3 +++ 5 files changed, 37 insertions(+) diff --git a/debian/README.Debian b/debian/README.Debian index 3e9bf42..1b80bfd 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -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 <z...@debian.org> Fri, 15 Feb 2008 15:04:41 +0100 + Calls on external Java functions disabled by default ---------------------------------------------------- diff --git a/debian/changelog b/debian/changelog index 315fc67..b2231e6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ saxonb (9.0-3) UNRELEASED; urgency=low * 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 <konque...@gmx.de> Fri, 15 Feb 2008 21:25:48 +0100 diff --git a/debian/libsaxonb-java.install b/debian/libsaxonb-java.install new file mode 100644 index 0000000..e6a4a99 --- /dev/null +++ b/debian/libsaxonb-java.install @@ -0,0 +1,2 @@ +debian/scripts/saxonb-xquery /usr/bin +debian/scripts/saxonb-xslt /usr/bin diff --git a/debian/scripts/saxonb-xquery b/debian/scripts/saxonb-xquery new file mode 100644 index 0000000..8d31818 --- /dev/null +++ b/debian/scripts/saxonb-xquery @@ -0,0 +1,3 @@ +#!/bin/sh + +exec java -classpath /usr/share/java/saxonb.jar net.sf.saxon.Query "$@" diff --git a/debian/scripts/saxonb-xslt b/debian/scripts/saxonb-xslt new file mode 100644 index 0000000..9383267 --- /dev/null +++ b/debian/scripts/saxonb-xslt @@ -0,0 +1,3 @@ +#!/bin/sh + +exec java -classpath /usr/share/java/saxonb.jar net.sf.saxon.Transform "$@" -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/saxonb.git _______________________________________________ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits