<?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>2962</bug_id>
          
          <creation_ts>2006-03-02 11:40:31 +0000</creation_ts>
          <short_desc>XPDY0002 or FONC0001?</short_desc>
          <delta_ts>2006-07-06 13:02:46 +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="Andrew Eisenberg">andrew.eisenberg</assigned_to>
          <cc>carmelo</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>8511</commentid>
    <comment_count>0</comment_count>
    <who name="Marc Van Cappellen">marc.van.cappellen</who>
    <bug_when>2006-03-02 11:40:31 +0000</bug_when>
    <thetext>A number of tests expect FONC0001, but the reported error should be XPDY0002.

One example, fn-name-23.xq:
  fn:name(.)
As the dot expression is used, XPDY0002 is the appropriate error.
A query as follows, should raise FONC0001:
  fn:name()

Please change the expected error code in the XQTS catalog.

Here is the complete list:
fn-base-uri-22.xq
fn-string-3.xq
fn-name-23.xq
fn-lang-22.xq
fn-local-name-23.xq
fn-namespace-uri-26.xq
fn-number-4.xq
fn-root-24.xq

Thanks,
Marc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8840</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2006-03-22 22:06:48 +0000</bug_when>
    <thetext>The functions that you mention have been affected by the resolution of CR issue
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2681.

At our joint XML Query/XSL WG meeting on May 14 we recorded the following:

Decision: Change references to errors FONC0001 and FOTY0011 to XPTY0002 and 
XPTY0004 in the text resolving Bug #2681

It is our intent to change the error codes expected for the test cases that you&apos;ve mentioned.

Please close this bug report if you agree with our resolution of ths issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9757</commentid>
    <comment_count>2</comment_count>
    <who name="Marc Van Cappellen">marc.van.cappellen</who>
    <bug_when>2006-05-12 06:43:03 +0000</bug_when>
    <thetext>We agree with the resolution, but apparently in XQTS 0.9.0 the expected error code is still FONC0001. As such we have reopened this bug.

Take for example the fn:name tests (but it also applies to the other tests listed in the description):
For both fn-name-23 and fn-name-7 the XQTSCatalog specifies FONC0001 as expected error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9767</commentid>
    <comment_count>3</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-05-12 15:16:03 +0000</bug_when>
    <thetext>Marc:

Thanks for pointing this out.  The test case entries were corrected to reflect the appropriate code.  Please close the bug if in agreement.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10399</commentid>
    <comment_count>4</comment_count>
    <who name="Tom Brosens">Tom.Brosens</who>
    <bug_when>2006-07-06 13:02:46 +0000</bug_when>
    <thetext>We agree. Closing.

Thanks,
Tom.

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>