W3C home > Mailing lists > Public > public-xformsusers@w3.org > March 2014

Re: A few more comments on the introduction

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>
Message-ID: <op.xcy2j1qzsmjzpq@steven-ux21a>
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:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:43 UTC