Re: p:option not required without default value

"Innovimax SARL" <innovimax@gmail.com> writes:

> Nothing is said in the spec about what to do if we have the following
> pipeline
>
> <p:pipeline xmlns:p="http://www.w3.org/ns/xproc" xmlns:ix="
> http://www.innovimax.fr/ns">
>     <p:declare-step type="ix:test">
>         <p:input port="source"/>
>         <p:output port="result"/>
>         <p:option name="not-required-no-default"/>
>         <p:choose>
>             <p:when test="$not-required-no-default">
>                 <p:identity/>
>             </p:when>
>             <p:otherwise>
>                 <p:filter select="/*"/>
>             </p:otherwise>
>         </p:choose>
>     </p:declare-step>
>     <ix:test/>
> </p:pipeline>

You're right. That either has to be an error or we have to specify what
the default default value for options.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | As long as a word remains unspoken, you
http://nwalsh.com/            | are its master; once you utter it, you
                              | are its slave.--Solomon Ibn Gabirol

Received on Friday, 29 August 2008 13:01:44 UTC