W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > August 2008

Re: p:option not required without default value

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 28 Aug 2008 17:21:23 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m23akog7jg.fsf@nwalsh.com>
"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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 28 August 2008 21:22:09 GMT