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

A few more comments on the introduction

From: Erik Bruchez <erik@bruchez.org>
Date: Tue, 18 Mar 2014 23:00:02 -0700
Message-ID: <CAAc0PEVB9tUaP=ejZVd9zRB+Gn97SduwizmcMdfmSixpBbzRug@mail.gmail.com>
To: public-forms@w3.org, "public-xformsusers@w3.org" <public-xformsusers@w3.org>
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 06:00:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:48:26 UTC