Re: A few more comments on the introduction

Great. Thanks!

Steven

On Wed, 19 Mar 2014 07:00:02 +0100, Erik Bruchez <erik@bruchez.org> wrote:

> All,
>
>
> 1. "XForms have a section that describes the data being manipulated"
>
> The famous "plural XForms". Suggestion:
>
>     "A form has ..."
>
> or:
>
>     "An XForms form has ..."
>
> 2. constraint=". &lt; 10"
>
> XPath 2.0 introduced operators that don't require escaping. Suggestion:
>
>     constraint=". lt 10"
>
> 3. {if(total >= 0, 'positive', 'negative')}
>
> The if() function is deprecated since XForms 1.1. We should either us
> `choose()`, or the native XPath 2.0's `if (...) then ... else ...`
> construct. Suggestion:
>
>     {if (total >= 0) then 'positive' else 'negative'}
>
> -Erik

Received on Wednesday, 19 March 2014 14:01:39 UTC