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

Re: Recursive calling

From: Innovimax SARL <innovimax@gmail.com>
Date: Mon, 6 Oct 2008 19:05:22 +0200
Message-ID: <546c6c1c0810061005q5719ef9fj56dd6c4941273794@mail.gmail.com>
To: "XProc Dev" <xproc-dev@w3.org>
Well, it seems to work with the current head

Thanks

Mohamed

On Sat, Oct 4, 2008 at 12:39 PM, Innovimax SARL <innovimax@gmail.com> wrote:

> Norm,
>
> I just tried with 0.7.1 version of calabash if recursive calling works
>
> But it doesn't
>
> Here is a small example
>
> <p:pipeline xmlns:p="http://www.w3.org/ns/xproc"
> xmlns:ix="http://www.innovimax.fr/xproc/ns">
>    <p:declare-step name="recursive" type="ix:step">
>        <p:input port="source"/>
>        <p:output port="result"/>
>        <p:option name="level"/>
>        <p:choose>
>            <p:when test="number($level) = 0">
>                <p:identity/>
>            </p:when>
>            <p:otherwise>
>                <ix:step>
>                    <p:with-option name="level" select="number($level) -
> 1"/>
>                </ix:step>
>            </p:otherwise>
>        </p:choose>
>    </p:declare-step>
>    <ix:step level="10"/>
> </p:pipeline>
>
> And here is Calabash response
>
> Pipeline failed: err:XS0044: Unexpected step name: ix:step
>  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.
>
> Mohamed
>
> --
> Innovimax SARL
> Consulting, Training & XML Development
> 9, impasse des Orteaux
> 75020 Paris
> Tel : +33 9 52 475787
> Fax : +33 1 4356 1746
> http://www.innovimax.fr
> RCS Paris 488.018.631
> SARL au capital de 10.000 
>



-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Monday, 6 October 2008 17:06:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 October 2008 17:06:35 GMT