- From: Steven Pemberton <Steven.Pemberton@cwi.nl>
- Date: Wed, 19 Mar 2014 15:01:03 +0100
- To: public-forms@w3.org, "public-xformsusers@w3.org" <public-xformsusers@w3.org>, "Erik Bruchez" <erik@bruchez.org>
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=". < 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