W3C home > Mailing lists > Public > xproc-dev@w3.org > January 2012

using saxon PE instead of HE

From: Theo van den Heuvel <tcmvandenheuvel@gmail.com>
Date: Fri, 27 Jan 2012 10:50:29 +0100
Message-ID: <CAJf0A1O8ULn_QsknNUwpm3izuRJ6J-rxET5zqoQZO1=hsGVDfw@mail.gmail.com>
To: xproc-dev@w3.org
Hi all,

(Sorry if this message appears twice. first attempt to send, 20 hours ago,
seems to have failed).

On my windows7 64-bit machine I have installed Calabash 1.0.0. When run
from the command line,
my script complains  about extension functions:

*Jan 26, 2012 2:10:29 PM com.xmlcalabash.util.DefaultXProcMessageListener
error*
*SEVERE:
file:/C:/Users/Public/hltconsult/relations/Semantix/projects/test_minim/*
*task%2020120120/tools/semdar2Coverage_svg.xsl:299:XPST0017:Cannot find a
matchin*
*g 1-argument function named {http://exslt.org/math}log(). There is no
Saxon exte*
*nsion function with the local name log*
*Jan 26, 2012 2:10:29 PM com.xmlcalabash.util.DefaultXProcMessageListener
error*
*SEVERE:
file:/C:/Users/Public/hltconsult/relations/Semantix/projects/test_minim/*
*task%2020120120/tools/semdar2Coverage_svg.xsl:303:XPST0017:Cannot find a
matchin*
*g 1-argument function named {http://exslt.org/math}min(). There is no
Saxon exte*
*nsion function with the local name min*
*Jan 26, 2012 2:10:29 PM com.xmlcalabash.util.DefaultXProcMessageListener
error*
*SEVERE: Failed to compile stylesheet. 2 errors detected.*
*Jan 26, 2012 2:10:29 PM com.xmlcalabash.util.DefaultXProcMessageListener
error*
*SEVERE: Failed to compile stylesheet. 2 errors detected.*
*Jan 26, 2012 2:10:29 PM com.xmlcalabash.drivers.Main error*
*SEVERE: Pipeline failed: net.sf.saxon.s9api.SaxonApiException: Failed to
compile*
* stylesheet. 2 errors detected.*
*Jan 26, 2012 2:10:29 PM com.xmlcalabash.drivers.Main error*
*SEVERE: Underlying exception:
javax.xml.transform.TransformerConfigurationExcept*
*ion: Failed to compile stylesheet. 2 errors detected.*

(Sorry, silly wrapping due to command box wackiness).

It seems that calabash is using Saxon HE instead of PE. If I add the option
-Ppe,  I get the message
  * Failed to obtain PE processor; using HE instead.*
even though the saxon9pe.jar is the only saxon jar on the class path.

Also, it seems that when run from Oxygen (13.2) PE is being used as well as
an older version of Calabash (0.9.43.93).

What am I doing wrong here? I would like to be able to run using  PE from
the command line.

Thanks,

Theo van den Heuvel
Van den Heuvel HLT Consultancy
Received on Friday, 27 January 2012 22:08:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 January 2012 22:08:27 GMT