W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2005

[Bug 1231] [DM] Pattern facet for ordered durations can and should be simplified

From: <bugzilla@wiggum.w3.org>
Date: Tue, 12 Apr 2005 23:22:38 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1DLUiM-0004mN-4V@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1231


cmsmcq@w3.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Pattern facet for ordered   |[DM] Pattern facet for
                   |durations can and should be |ordered durations can and
                   |simplified                  |should be simplified




------- Additional Comments From cmsmcq@w3.org  2005-04-12 23:22 -------
A simpler pattern for dayTimeDuration is

  [^YM]*[DT].*"

which can readily be glossed as: "You have to have 
a Day field or one or more of the Time fields, 
and they must not be preceded by any Year or 
Month field."  It may be slightly easier to see
that this is correct than that "[^YM]*(T.*)?"
is correct.
Received on Tuesday, 12 April 2005 23:22:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:37 GMT