<?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>7001</bug_id>
          
          <creation_ts>2009-06-06 01:36:18 +0000</creation_ts>
          <short_desc>Converting strings &quot;-0.0E0&quot; and &quot;1e-5&quot; to xs:decimal</short_desc>
          <delta_ts>2009-06-06 14:57:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Query Test Suite</product>
          <component>XML Query Test Suite</component>
          <version>1.0.2</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bogdan Butnaru">bogdanb+w3c+bugzilla</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</assigned_to>
          <cc>mike</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>25484</commentid>
    <comment_count>0</comment_count>
    <who name="Bogdan Butnaru">bogdanb+w3c+bugzilla</who>
    <bug_when>2009-06-06 01:36:18 +0000</bug_when>
    <thetext>Hello!

Tests CastableAs019, CastableAs017, CastableAs099, and CastableAs101 try the following expressions:

“xs:untypedAtomic(&quot;-0.0E0&quot;) castable as xs:decimal”
“xs:untypedAtomic(&quot;1e-5&quot;) castable as xs:decimal”
“xs:string(&quot;-0.0E0&quot;) castable as xs:decimal”
“xs:string(&quot;1e-5&quot;) castable as xs:decimal”

and expect the result to be “false”. I&apos;ve read the cited specs several times tonight and I can&apos;t think of any reason why the result wouldn&apos;t be “true” (with the resulting decimals being 0.0E0 and 1.0E-5).

Am I missing something, or are these bugs?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25485</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2009-06-06 08:37:45 +0000</bug_when>
    <thetext>Exponential notation is not allowed for xs:decimal. See

http://www.w3.org/TR/xmlschema-2/#decimal

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25486</commentid>
    <comment_count>2</comment_count>
    <who name="Bogdan Butnaru">bogdanb+w3c+bugzilla</who>
    <bug_when>2009-06-06 14:57:36 +0000</bug_when>
    <thetext>I can&apos;t imagine how I could have missed that. Sorry for the noise.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>