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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19004

--- 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