- From: <bugzilla@jessica.w3.org>
- Date: Tue, 23 Aug 2016 17:25:48 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29788
Bug ID: 29788
Summary: Incorrect result for millisecs-018
Product: XPath / XQuery / XSLT
Version: Candidate Recommendation
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: XQuery 3 & XPath 3 Test Suite
Assignee: oneil@saxonica.com
Reporter: josh.spiegel@oracle.com
QA Contact: public-qt-comments@w3.org
Target Milestone: ---
<test-case name="millisecs-018"
xmlns="http://www.w3.org/2010/09/qt-fots-catalog">
<description>Fractional seconds: width modifier trumps picture
</description>
<created by="Michael Kay" on="2016-07-21"/>
<test><![CDATA[format-time(xs:time('12:01:01.123'),
"[f111,2-2]")]]></test>
<result>
<assert-eq>"12"</assert-eq>
</result>
</test-case>
The description reads "width modifier trumps picture" but this is not how the
spec reads. It says (9.8.4.5) "If there is a width modifier, then the first
presentation modifier is adjusted ..." and the following logic does not take
digits away. I would expect the result of this test to be 123.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 23 August 2016 17:25:56 UTC