- From: Steven Pemberton <Steven.Pemberton@cwi.nl>
- Date: Thu, 24 May 2007 15:23:45 +0200 (CEST)
- To: www-forms-editor@w3.org
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, 24 May 2007 13:23:58 UTC