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

Re: [LC] 5.2.6 xforms:ID-card-number and 7.8.7 The luhn() Function (PR#63)

From: Nick Van den Bleeken <xforms-issues@mn.aptest.com>
Date: Thu, 13 Sep 2007 05:13:41 -0500
Message-Id: <200709131013.l8DADfbv009169@htmlwg.mn.aptest.com>
To: Steven.Pemberton@cwi.nl
CC: www-forms-editor@w3.org

Steven,

We will change the Change ID-card-number type to card-number and change name of
the luhn() function to is-card-number().

Regards,

Nick Van den Bleeken


> 
> http://www.w3.org/TR/xforms11/#id-card-type
> http://www.w3.org/TR/xforms11/#fn-luhn
> 
> "The complementary XPath function luhn() should be used to validate
> that the ID number conforms to the specification."
> 
> I imagine that almost exclusively these will be used like this:
> 
>        <bind nodeset="cc" type="ID-card-number" constraint="luhn()" />
> 
> While I applaud the recognition of computer scientists who have
> contributed to society, I fear that this is too hard to remember for
> this single occurring case. May I propose as easier to cope with
> something along the lines of:
> 
>        <bind nodeset="cc" type="card-number" constraint="card-number()" />
> 
> 
> 
Received on Thursday, 13 September 2007 10:14:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 June 2009 18:12:16 GMT