[Bug 29787] Add alternate result for millisecs-019

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

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