W3C home > Mailing lists > Public > xproc-dev@w3.org > October 2008

Re: calabash 0.8.4: question about p:declare-step

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 31 Oct 2008 16:32:32 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2skqc8pzz.fsf@nwalsh.com>
"James Fuller" <james.fuller.2007@gmail.com> writes:

> given
>
> <p:declare-step name="test1"
>             xmlns:p="http://www.w3.org/ns/xproc">
>
>     <p:input port="primary-source" primary="true"/>
>     <p:output port="primary-result" primary="true"/>
>
>     <p:count/>
>
> </p:declare-step>
>
> I thought declaring primary-source explicitly as primary (with
> @primary attr) should result in this being treated as the default
> readable input.
>
> is this a calabash bug or a misunderstanding of the spec on my part ?

It works for me, so I dunno :-)

$ calabash -iprimary-source=test1.xpl test1.xpl
<c:result xmlns:c="http://www.w3.org/ns/xproc-step">1</c:result>

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | We look back on our life as a thing of
http://nwalsh.com/            | broken pieces, because our mistakes and
                              | failures are always the first to strike
                              | us, and outweigh in our imagination
                              | what we have accomplished and
                              | attained.-- Goethe

Received on Friday, 31 October 2008 20:33:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 31 October 2008 20:33:15 GMT