<?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>3020</bug_id>
          
          <creation_ts>2006-03-20 15:40:16 +0000</creation_ts>
          <short_desc>wrong definition of int in op-numeric-unary-minusint1args-1</short_desc>
          <delta_ts>2006-03-30 06:30:25 +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>0.8.6</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</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="Uwe Specht">uwe.specht</reporter>
          <assigned_to name="Carmelo Montanez">carmelo</assigned_to>
          <cc>andrew.eisenberg</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>8792</commentid>
    <comment_count>0</comment_count>
    <who name="Uwe Specht">uwe.specht</who>
    <bug_when>2006-03-20 15:40:16 +0000</bug_when>
    <thetext>In op-numeric-unary-minusint1args-1.txt the expected result is 2147483648.
but the result of an unary operation with an int should be int.
but from datatypes 3.3.17 2147483648 is not in the range of int.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8828</commentid>
    <comment_count>1</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-03-22 16:20:18 +0000</bug_when>
    <thetext>Hey Uwe:

Thanks for the comment.  Actually that section states
&quot;... int is ·derived· from long by setting the value of ·maxInclusive· to be 2147483647 and ·minInclusive· to be -2147483648.  ...&quot;, which does
includes the value &quot;-2147483648&quot; as the minimum value.  I will marked the bug as &quot;Assigned&quot; for now.  Please comment further if you wish.

Thanks
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8847</commentid>
    <comment_count>2</comment_count>
    <who name="Uwe Specht">uwe.specht</who>
    <bug_when>2006-03-23 09:23:31 +0000</bug_when>
    <thetext>Hey Carmelo,
i agree, but shouldn&apos;t be the result of an unary operation with an int be an int?
If not this is a misunderstanding, and the bug can be closed as invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8948</commentid>
    <comment_count>3</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-03-29 19:56:48 +0000</bug_when>
    <thetext>Uwe:

You are correct.  I was overlooking the boundary value.  I corrected the test
to use a value within the boundaries.  Thanks for the observation.  Please
close the bug if in agreement.  The changed test should be part of the
new release, which should be out later this week/early next.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8973</commentid>
    <comment_count>4</comment_count>
    <who name="Uwe Specht">uwe.specht</who>
    <bug_when>2006-03-30 06:30:25 +0000</bug_when>
    <thetext>Thanks for your cooperation.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>