Fwd: Re: Newbie question: Calabash protests Calabash extensions

---------- Forwarded message ----------
From: "Conal Tuohy" <conal.tuohy@gmail.com>
Date: 5 Jul 2016 12:11
Subject: Re: Newbie question: Calabash protests Calabash extensions
To: "Charlie Halpern-Hamu" <charlie@incrementaldevelopment.com>
Cc:

It would be helpful to newbies if Norm could ensure that the namespace URI
resolves to a resource that points to the relevant documentation.

On 5 Jul 2016 07:47, "Charlie Halpern-Hamu" <
charlie@incrementaldevelopment.com> wrote:

>

> Yes, thank you. That's what I needed. And then, of course, I found the
documentation:
>
>     http://xmlcalabash.com/docs/reference/extsteps.html
>
> On Thu, Jun 30, 2016 at 4:11 AM, Imsieke, Gerrit, le-tex <
gerrit.imsieke@le-tex.de> wrote:

>>

>> Try adding a
>> <p:import href="http://xmlcalabash.com/extension/steps/library-1.0.xpl"/>
>> after the port&option declarations.
>>
>> On 29.06.2016 20:29, Charlie Halpern-Hamu wrote:

>>>

>>> Do I need to take some action to enable Calabash's extension steps?
>>>
>>> java -jar xmlcalabash-1.1.9-96.jar pipe.xml
>>>
>>> <p:declare-step
>>>     xmlns:p="http://www.w3.org/ns/xproc"
>>>     version="1.0">
>>>     <p:input port="source">
>>>         <p:inline>
>>>             <happiness />
>>>         </p:inline>
>>>     </p:input>
>>>     <p:output port="result" />
>>>
>>>     <cx:message
>>>         xmlns:cx="http://xmlcalabash.com/ns/extensions"
>>>         message="sadness" />
>>>     <p:identity />
>>> </p:declare-step>
>>>
>>> ERROR: err:XS0044:Unexpected step name: cx:message
>>> ERROR: 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.
>>
>>
>

Received on Tuesday, 5 July 2016 00:12:49 UTC