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.



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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:22 UTC