- 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 UTC