<?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>2680</bug_id>
          
          <creation_ts>2006-01-07 23:03:01 +0000</creation_ts>
          <short_desc>Wrong error code for Constr-comppi-compname-9</short_desc>
          <delta_ts>2006-02-14 20:45:01 +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.4</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="Michael Kay">mike</reporter>
          <assigned_to name="Andreas Behm">abehm</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7701</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-01-07 23:03:01 +0000</bug_when>
    <thetext>I believe the correct error code here is XPTY0004. It comes under clause 1 of
3.7.3.5 in the Query book - the atomized value is of type xs:QName.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7716</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2006-01-08 21:58:56 +0000</bug_when>
    <thetext>If the input document has been validated, then the atomized value of
$input-context//*:QName is of type xs:QName and XPTY0004 should be raised.
Otherwise, the atomized value of $input-context//*:QName is of type xs:string,
and XQDY0041 should be raised.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7724</commentid>
    <comment_count>2</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-01-09 13:44:52 +0000</bug_when>
    <thetext>The test uses the &quot;atomic.xml&quot; file, which will lead me to believe, it is
validated.  The test does belongs to Andreas and thus I am re-assigning to
him.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7994</commentid>
    <comment_count>3</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-01-26 22:03:54 +0000</bug_when>
    <thetext>Michael:

The task force sometime ago decided that when a document is validated with a 
schema, then both types of results will be provided.  Results with schema 
and results without the schema.  Under this scnenario, both errors are 
possible.  Added the extra possible error and resubmitted the catalog file.  
Please close the bug if in agreement.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8261</commentid>
    <comment_count>4</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-02-14 20:45:01 +0000</bug_when>
    <thetext>Looks like we are all in agreement on this one.  I will close the bug.

Carmelo</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>