<?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>4148</bug_id>
          
          <creation_ts>2007-01-04 13:41:03 +0000</creation_ts>
          <short_desc>SUN tests: dependency on float/double formatting</short_desc>
          <delta_ts>2012-12-04 00:53:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema Test Suite</product>
          <component>Sun Tests</component>
          <version>2006-11-06</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>MSM to mark the metadata as described</status_whiteboard>
          <keywords>disputedTest</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          <cc>David_E3</cc>
          
          <qa_contact name="XML Schema Test Suite mailing list">public-xml-schema-testsuite</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13349</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2007-01-04 13:41:03 +0000</bug_when>
    <thetext>In the Sun ElemDecl test set, tests

   &lt;test set=&quot;ElemDecl&quot; group=&quot;valueconstraint00501m1&quot; name=&quot;Positive&quot;/&gt;
   &lt;test set=&quot;ElemDecl&quot; group=&quot;valueconstraint00501m2&quot; name=&quot;Positive&quot;/&gt;

the essence of the test is to check that the fixed value declared for an element is valid against the definition of the type invoked using xsi:type. The rules state that the canonical lexical representation of the fixed value must be valid against this type. In these two tests the fixed value is a floating point value. Although Part 2 defines a &quot;canonical representation&quot; for float and double, it is not truly canonical, in that multiple representations are permitted. Specifically, an implementation can return 9.999999776482582E-3 as the canonical representation of the value 0.01, and this will violate the pattern facet, causing the instance to be invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31446</commentid>
    <comment_count>1</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2010-02-04 14:08:12 +0000</bug_when>
    <thetext>If we agree with Mike&apos;s analysis, I guess this test gets deleted</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35234</commentid>
    <comment_count>2</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2010-04-23 16:20:52 +0000</bug_when>
    <thetext>The WG decided to mark this one as &quot;result is undefined in 1.0&quot; but the instance is valid in 1.1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>