<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2220</bug_id>
          
          <creation_ts>2005-09-14 19:20:37 +0000</creation_ts>
          <short_desc>R-228: Suggestion for changes in fractionDigits example in part 2</short_desc>
          <delta_ts>2009-04-21 19:21:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Datatypes: XSD Part 2</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6243</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 19:20:37 +0000</bug_when>
    <thetext>The value of totalDigits at the example [1] 

&lt;simpleType name=&apos;celsiusBodyTemp&apos;&gt;
  &lt;restriction base=&apos;decimal&apos;&gt;
    &lt;totalDigits value=&apos;4&apos;/&gt;
    &lt;fractionDigits value=&apos;1&apos;/&gt;
    &lt;minInclusive value=&apos;36.4&apos;/&gt;
    &lt;maxInclusive value=&apos;40.5&apos;/&gt;
  &lt;/restriction&gt;
&lt;/simpleType&gt;

should probably be 3 -- if at all present. The presence of both minInclusive 
and maxInclusive make totalDigits superfluous. The fractionDigits set to 1 
means that only one digit after the decimal point is allowed. 

Considering the other three facets all valid values have at max 3 digits. 

Also ,the magnitude of a (live) person&apos;s body temperature on the Celsius scale 
would probably go up to 42 Celsius... 

[1] http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/#rf-fractionDigits 

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0033.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12959</commentid>
    <comment_count>1</comment_count>
    <who name="Dave Peterson">davep</who>
    <bug_when>2006-11-18 02:01:14 +0000</bug_when>
    <thetext>Approved by the WG; awaiting incorporation into the status quo document.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12964</commentid>
    <comment_count>2</comment_count>
    <who name="Dave Peterson">davep</who>
    <bug_when>2006-11-18 02:15:34 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Approved by the WG; awaiting incorporation into the status quo document.

Specifically, the approved fix is to delete the totalDigits element and change the minInclusive value
to 32 (89.6 F) and maxInclusive value to 41.7 (107.1 F). 

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16636</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-09-18 00:40:02 +0000</bug_when>
    <thetext>The change proposed above was approved by the WG in its call of 
17 November 2006.  It is now reflected in the status quo version 
of the Datatypes spec.  Accordingly, I am setting the disposition of 
this issue to RESOLVED / FIXED.

If the originator of the issue would examine the change and let 
us know whether it satisfactorily resolves the problem or not, 
we&apos;d be grateful.   To signal that the resolution is acceptable, 
change the status of the issue to CLOSED.  Otherwise, to signal 
that it&apos;s NOT acceptable, change the status to REOPENED (and 
tell us what&apos;s wrong).

If we don&apos;t hear from you in the next three weeks, we&apos;ll assume 
that silence betokens consent, and close the issue ourselves.   </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>