W3C home > Mailing lists > Public > xproc-dev@w3.org > August 2010

using messages depending on XProc processor

From: Paul Hermans <paul@proxml.be>
Date: Tue, 3 Aug 2010 10:44:23 +0200
Message-ID: <7b7be57f04ac7e75e3b1234db50c57ed.squirrel@mail.proxml.be>
To: xproc-dev@w3.org
Trying to send messages for debugging reasons, depending on the processor

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
    xmlns:xlink="http://www.w3.org/1999/xlink" xpath-version="1.0"

  <p:variable name="product" select="p:system-property('p:product-name')"/>
  <p:import href="http://xmlcalabash.com/extension/steps/library-1.0.xpl"/>


            <p:when test="contains($product,'Calumet')">
                    <p:with-option name="message"
select="concat('collection : ',$file)"/>
            <p:when test="contains($product,'Calabash')">
                    <p:with-option name="message"
select="concat('collection : ',$file)"/>

In Calumet I do get the messages as expected:
"collection : file:/C:/Users/paul/XSD2SCH/msMeta/Additional_w3c.xml"

XML Calabash however throws the error

SystemID: C:\Users\Paul\XSD2SCH\MSXSD2SCH.xpl
Engine name: Calabash XProc
Severity: error
Description: XS0044 : Unexpected step name: emx:message It is a static
error if any element in the XProc namespace or any step has element
children other than those specified for it by this specification. In
particular, the presence of atomic steps for which there is no visible
declaration may raise this error.
URL: http://www.w3.org/TR/xproc/#err.S0044

Something in my code or something to report on the Calabash issue list?
Received on Tuesday, 3 August 2010 08:45:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:16:54 UTC