W3C home > Mailing lists > Public > www-forms-editor@w3.org > August 2007

Re: [LC] 7.10.8 The seconds() Function (PR#70)

From: John Boyer <xforms-issues@mn.aptest.com>
Date: Tue, 14 Aug 2007 02:10:30 -0500
Message-Id: <200708140710.l7E7AUNs008783@htmlwg.mn.aptest.com>
To: Steven.Pemberton@cwi.nl
CC: www-forms-editor@w3.org

Hi Steven,

These examples were from XForms 1.0.

The order has been changed to start with a non-error case, and the updated
example style for XForms 1.1 has been applied, which necessitated adding an
explanation for the return values.

John Boyer

> http://www.w3.org/TR/xforms11/#fn-get-seconds-from-duration
> Please don't start examples off with an error case like this. First
> give some valid examples, and then some error examples (in the case of
> this first one because the parameter only contains years and months).
> Is there a rationale for why such examples return 0 instead of NaN?
Received on Tuesday, 14 August 2007 07:15:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:12 UTC