W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2012

[Bug 19004] [QT3TS] format-integer tests expecting err:FODF1310

From: <bugzilla@jessica.w3.org>
Date: Thu, 27 Sep 2012 22:16:20 +0000
Message-Id: <E1THMNY-00055H-KF@jessica.w3.org>
To: public-qt-comments@w3.org

--- Comment #6 from Michael Kay <mike@saxonica.com> 2012-09-27 22:16:20 UTC ---
(In reply to comment #5)
> Several of the patterns in comment #0 do not have one digit, e.g. Empty string,
> #.

Fair enough. I would be inclined to say:

(a) a zero-length primary format token is an error (spec change)

(b) in the other cases where the regex is not matched (025, 026, 039), the
implementation should fall back to a format token of "1".

(c) for the cases where the format modifier is wrong: we currently say "The
format modifier, if present, is one or more of the following, in order". We
don't say what happens if it isn't. I would recommend (spec change) changing
the "is" to "must be" and raising an error (the same error code). Affects 037
and 038; there should probably be more tests of this condition.

Michael Kay

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 27 September 2012 22:16:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:39 UTC