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

using saxon PE

From: Theo van den Heuvel <tcmvandenheuvel@gmail.com>
Date: Thu, 26 Jan 2012 14:47:34 +0100
Message-ID: <CAJf0A1Mun00KEESWM5VhAdAryyAdVVPnivaQqvBJgHQ6ESWKKg@mail.gmail.com>
To: xproc-dev@w3.org
Hi all,

On my windows7 64-bit machine I have installed Calabash 1.0.0. 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.

What am I doing wrong here?

Thanks,

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

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