<?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>2943</bug_id>
          
          <creation_ts>2006-02-26 23:09:45 +0000</creation_ts>
          <short_desc>Can static typing report FORG0006?</short_desc>
          <delta_ts>2009-08-31 20:08:29 +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="Marc Van Cappellen">marc.van.cappellen</reporter>
          <assigned_to name="Carmelo Montanez">carmelo</assigned_to>
          <cc>andrew.eisenberg</cc>
    
    <cc>nick</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>8459</commentid>
    <comment_count>0</comment_count>
    <who name="Marc Van Cappellen">marc.van.cappellen</who>
    <bug_when>2006-02-26 23:09:45 +0000</bug_when>
    <thetext>For the following tests:
  statictyping-3.xq
  statictyping-4.xq
  statictyping-5.xq
  statictyping-6.xq
Our static typing implementation reports FORG0006 iso. XPTY0004

As FORG0006 seems to be more accurate, we believe it should be added as second 
expected error.

Thanks,
Marc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8644</commentid>
    <comment_count>1</comment_count>
    <who name="Marc Van Cappellen">marc.van.cappellen</who>
    <bug_when>2006-03-09 09:49:39 +0000</bug_when>
    <thetext>to complete the original list:
  ST-WhereExpr001.xq
  ST-WhereExpr002.xq
  statictyping-7.xq</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8763</commentid>
    <comment_count>2</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2006-03-16 19:10:09 +0000</bug_when>
    <thetext>I will go further and suggest that only FORG0006 be accepted. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8770</commentid>
    <comment_count>3</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-03-17 15:19:25 +0000</bug_when>
    <thetext>Marc:

Correct.  Changed the expected error to be &quot;FORG0006&quot;.  Please
close the bug if in agreement and when able to verify.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9782</commentid>
    <comment_count>4</comment_count>
    <who name="Marc Van Cappellen">marc.van.cappellen</who>
    <bug_when>2006-05-12 23:05:10 +0000</bug_when>
    <thetext>Reopened this bug.

All of the listed tests have been fixed, with the exception of one.
ST-WhereExpr002 still expects XPTY0004, where it should be FORG0006</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9784</commentid>
    <comment_count>5</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-05-15 14:43:33 +0000</bug_when>
    <thetext>Marc:

Thanks for reopening this.  The test case entry for ST-WhereExpr002
was changed to reflect correct code of &quot;FORG0006&quot;.  Please close the
bug if in agreement.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10076</commentid>
    <comment_count>6</comment_count>
    <who name="Marc Van Cappellen">marc.van.cappellen</who>
    <bug_when>2006-06-17 20:29:32 +0000</bug_when>
    <thetext>I confirm this is resolved in XQTS 0.9.4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22205</commentid>
    <comment_count>7</comment_count>
    <who name="Nick Jones">nick</who>
    <bug_when>2008-10-20 11:22:35 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; I will go further and suggest that only FORG0006 be accepted. 
&gt; 

Could I query why FORG0006 is the only expected result not XPTY0004? (I was about to report these tests being wrong for returning FORG0006).

As a static typing test I&apos;d have thought the static error would be correct, due to their failure to type check against the rules in 7.2.4 of the formal semantics?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26762</commentid>
    <comment_count>8</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2009-08-31 20:08:29 +0000</bug_when>
    <thetext>The XML Query and XSL WGs have revisited this in Bug #6914 and decided to accept both XPTY0004 and FORG0006 as expected errors for these test cases.

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>