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

[Bug 29824] New: [SER31] Adaptive output method, xs:double

From: <bugzilla@jessica.w3.org>
Date: Wed, 14 Sep 2016 12:00:06 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29824-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29824

            Bug ID: 29824
           Summary: [SER31] Adaptive output method, xs:double
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
               URL: https://www.w3.org/XML/Group/qtspecs/specifications/xs
                    lt-xquery-serialization-31/html/Overview.html#adaptive
                    -output
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization 3.1
          Assignee: cmsmcq@blackmesatech.com
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

The text reads

"An instance of xs:double is serialized by applying the function
format-number(?, '0.0##########################e0')."

This means that the result is dependent on the default decimal format.  Is that
the default decimal format used by the query/transformation/path expression, or
some other default for serialization?

Note that by default in XQuery, format-number of infinity would be "Infinity",
not "INF" as expected in the test suite.

I suggest that the specification be reworded to state a specific default
decimal format for the adaptive serialization method, perhaps using INF for the
infinity symbol.

Related test cases:

 Serialization-adaptive-22
 Serialization-adaptive-27

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 14 September 2016 12:00:27 UTC

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