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

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

--- Comment #2 from Michael Kay <mike@saxonica.com> 2012-09-27 08:56:22 UTC ---
I propose to fix the spec by extending the meaning of FODF1310 to cover the
other errors described, which currently specify no error code. Specifically,
change:

If the primary format token contains at least one Unicode digit then it is
taken as a decimal digit pattern, and in this case it must match the regular
expression ^((\p{Nd}|#|[^\p{N}\p{L}])+?)$. If it contains a digit but does not
match this pattern, an error is raised [err:FODF1310].

to

If the primary format token contains at least one Unicode digit then it is
taken as a decimal digit pattern, and in this case it must match the regular
expression ^((\p{Nd}|#|[^\p{N}\p{L}])+?)$, and must satisfy certain other rules
described below. If it contains a digit but does not meet these requirements,
an error is raised [err:FODF1310].

and change the "Error conditions" section from

An error is raised [err:FODF1310] if the primary format token contains a digit
but does not match the required regular expression.

to

An error is raised [err:FODF1310] if the primary format token contains a digit
but is not a valid decimal-digit-pattern

-- 
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 08:56:23 UTC