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"/>

What should be said? 

Call

  <ix:test/>

And there's no value for the not-required-no-default option.

Call

  <ix:test not-required-no-default="5"/>

and it has the value 5.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Why in our youth does the life we still
http://nwalsh.com/            | have before us look so immeasurably
                              | long? Because we have to find room for
                              | the boundless hopes with which we cram
                              | it.-- Schopenhauer

Received on Thursday, 28 August 2008 21:22:08 UTC