W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2013

Re: XML Datatype clarification: fractionDigits

From: Mukul Gandhi <gandhi.mukul@gmail.com>
Date: Tue, 25 Jun 2013 21:40:06 +0530
Message-ID: <CABuuzNPePtB_QETK26icTd6FRB5E_QybEK+MbWwKWp_XkCCfqg@mail.gmail.com>
To: Michael Kay <mike@saxonica.com>
Cc: Nochum Klein <nklein@tibco.com>, "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
On Tue, Jun 25, 2013 at 8:45 PM, Michael Kay <mike@saxonica.com> wrote:
> The value 12 can still be written as 12.0. This is not the same as xs:integer, because xs:integer also restricts the lexical space.

Thanks for pointing this. I meant that when we're using
<xs:fractionDigits value="0"/> on a xs:decimal, we're effectively
using no precision to the value (a nature of xs:integer).

But your point is more correct.

Mukul Gandhi
Received on Tuesday, 25 June 2013 16:11:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:16:04 UTC