W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2016

[Bug 29787] Add alternate result for millisecs-019

From: <bugzilla@jessica.w3.org>
Date: Tue, 23 Aug 2016 19:45:12 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29787-523-GmoNTGjVCo@http.www.w3.org/Bugs/Public/>

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
The stated policy for format-number/date/time/integer etc is that if the
picture string conforms to the defined syntax then you fall back to a default
representation rather than raising an error.

ยง9.8.4: In general, the use of an invalid $picture, $language, $calendar, or
$place argument results in a dynamic error ([err:FOFD1340]). By contrast, use
of an option in any of these arguments that is valid but not supported by the
implementation is not an error, and in these cases the implementation is
required to output the value in a fallback representation.

Which is why the test assertion is simply that the result must be a string.

I think there are good interoperability reasons for sticking to this policy.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 23 August 2016 19:45:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:01 UTC