[Bug 29552] New: [XP31] XSD 1.1 has a minimal conformance requirement for decimals of 16 digits, not 18 digits

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

            Bug ID: 29552
           Summary: [XP31] XSD 1.1 has a minimal conformance requirement
                    for decimals of 16 digits, not 18 digits
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XPath 3.1
          Assignee: jonathan.robie@gmail.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

The resolution of Bug 29419 (when applied) mentions that minimal conforming
processors must support 18 digits precision for decimals (and by extension,
integers).

I believe this conformance is also mentioned somewhere else, and/or in FO31,
but I couldn't readily find it.

In XSD 1.1 this minimal conformance requirement seems to have changed. I found
that surprising and didn't come across it earlier, but in section 5.4 of XSD
1.1 the text says, among other things:

<quote>
All ·minimally conforming· processors must support decimal values whose
absolute value can be expressed as i / 10k, where i and k are nonnegative
integers such that i < 1016 and k ≤ 16 (i.e., those expressible with sixteen
total digits).
</quote>

I'm not 100% sure I interpret this correctly, but it seems to me that the
minimal conformance requirement dropped from 18 digits to 16 digits in XSD 1.1.
If so, I think we should mention that in XP31 as well, and/or specify that,
regardless of XSD version supported, the minimal conformance requirement is 18
digits.

I'm in favor of the latter to prevent ugly differences in supported integer
ranges between processors (however unlikely I find that a processor will limit
it *below* 18 digits).

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

Received on Sunday, 3 April 2016 23:10:44 UTC