- From: Erik Bruchez <ebruchez@orbeon.com>
- Date: Thu, 22 Mar 2018 09:20:22 -0700
- To: Steven Pemberton <steven.pemberton@cwi.nl>
- Cc: XForms <public-xformsusers@w3.org>
Received on Thursday, 22 March 2018 16:21:12 UTC
The regex has `[0-9]*` so clearly zero or more digits were intended. This was done before we fixed the validation to allow optional-but-empty fields to be valid, and in that case having zero digits allowed supporting optional fields. Just a guess. -Erik On Thu, Mar 22, 2018 at 7:58 AM, Steven Pemberton <steven.pemberton@cwi.nl> wrote: > "7.2.7 card-number type > > This type represents identity, debit and credit card numbers; it is a > pattern restriction on xs:string to zero or more digits (0 - 9)." > > https://www.w3.org/community/xformsusers/wiki/XForms_2.0#card-number_type > > Presumably this ought to read "one or more digits". > > Agree? > > Steven > >
Received on Thursday, 22 March 2018 16:21:12 UTC