Re: [Bug 3659] Bugs in date/time regexes

I just looked at this bug text and one of the things it recommends is using 
\d instead of [0-9].  However, as I understand it, (sadly!) \d is equivalent 
to Unicode \p{Nd}, which matches digits in many languages such as 
ARABIC-INDIC DIGIT ZERO at character code 0660 and so on.  (I'm assuming 
here that there are no special rules in the schema spec that map \d to just 
[0-9].)

I don't think this is the intent and therefore it's appropriate to 
_un_recommend this change!!

If I don't hear any shouts that I've got this wrong I can add a note to 
Bugzilla.

Thanks,

Pete Cordell
Codalogic
Visit http://www.codalogic.com/lmx/
for XML Schema to C++ data binding
----- Original Message ----- 
From: <bugzilla@wiggum.w3.org>
To: <www-xml-schema-comments@w3.org>
Sent: Monday, December 17, 2007 2:26 AM
Subject: [Bug 3659] Bugs in date/time regexes


>
> http://www.w3.org/Bugs/Public/show_bug.cgi?id=3659
>
>
> davep@iit.edu changed:
>
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>  Status Whiteboard|important, work, date/time  |important, work, regex
>                   |cluster                     |cluster
>
>
>
>
> ------- Comment #5 from davep@iit.edu  2007-12-17 02:26 -------
> changing cluster from date/time to regex, because it needs to be dealt 
> with
> along with the other regex bugs, and it has a few comments about regexes 
> not
> related to date/time.  Makes for better tracking.
>
> 

Received on Monday, 17 December 2007 09:39:58 UTC