Re: Default Option Values

On 5/23/07, Norman Walsh <ndw@nwalsh.com> wrote:
> / Alex Milowski <alex@milowski.org> was heard to say:
> | We have many steps where there is an option with an implied
> | default value.  In my write-up, I assumed the p:option element can
> | have default values but it does not.
>
> Uhm...
>
>   5.7 p:option Element
>
>   The p:option element is used both to declare options and to establish
>   values for them. It can occur in three contexts:
>
>    1. On p:declare-step, it declares that the step accepts the named
>       option. It may also provide a default value for the option.
>
> Isn't it sufficient to say <p:option name="foo" value="bar"/> on the
> p:declare-step?

It doesn't look like that is valid from how I'm reading the spec in that
the 'value' attribute isn't allowed for declarations.

It seems like a simple thing to fix.

-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics

Received on Wednesday, 23 May 2007 14:07:17 UTC