[Bug 22282] wrong expected result or picture string for 'format-dateTime-006'

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

O'Neil Delpratt <oneil@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from O'Neil Delpratt <oneil@saxonica.com> ---
(In reply to comment #0)
> In the test-case 'format-dateTime-006' from 'fn-format-dateTime'
> the picture string is [Yi,4-4]
> yet the expected result assumes the picture string is [Yi,3-3].
> 
> Either the expected result or picture string need to be corrected.

Yes I agree. I have fixed the test to use the picture string [Yi, 3-3] and
changed the description accordingly, which was not quite accurate.

Before:
Test format-dateTime: lower-case roman numerals for year (width specifier
ignored)

After:

Test format-dateTime: lower-case roman numerals for year (with the width
specifier padded) 

I have also created another test-case which is a variant of ormat-dateTime-006.
Here we are testing the picture string [Yi, 4-4]. In this new test I have
removed the normalize-space="true" in the assertion 'assert-string-value',
which provides a better test of padding.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 12 June 2013 16:45:50 UTC