<?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>4101</bug_id>
          
          <creation_ts>2006-12-19 14:53:38 +0000</creation_ts>
          <short_desc>qName-1 has variable named incorrectly</short_desc>
          <delta_ts>2007-03-09 14:14: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>1.0.2</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</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="Frans Englich">frans.englich</reporter>
          <assigned_to name="Carmelo Montanez">carmelo</assigned_to>
          
          
          <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>13251</commentid>
    <comment_count>0</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2006-12-19 14:53:38 +0000</bug_when>
    <thetext>The query reads:
(: Name: qName-1 :)
(: Description: Evaluation of constructor function xs:QName for which the argument is not a literal.:)

(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)

xs:QName(20)

The catalog entry reads:


&lt;test-case is-XPath2=&quot;true&quot; name=&quot;qName-1&quot; FilePath=&quot;Functions/QNameFunc/QNameConstructFunc/ExpandedQNameConstructFunc/&quot; scenario=&quot;runtime-error&quot; Creator=&quot;Carmelo Montanez&quot;&gt;
                     &lt;description&gt;Test function xs:QName with argument not set to a string literal.&lt;/description&gt;
                     &lt;spec-citation spec=&quot;XQuery&quot; section-number=&quot;3.12.5&quot; section-title=&quot;Constructor Functions&quot; section-pointer=&quot;id-constructor-functions&quot;/&gt;
                     &lt;query name=&quot;qName-1&quot; date=&quot;2005-11-30&quot;/&gt;
                     &lt;input-file role=&quot;principal-data&quot; variable=&quot;input-context&quot;&gt;emptydoc&lt;/input-file&gt;
                     &lt;expected-error&gt;XPTY0004&lt;/expected-error&gt;
                  &lt;/test-case&gt;


Note the difference between &quot;input-context1&quot; and &quot;$input-context&quot;. I suggest removing the variable declarations, since it isn&apos;t used.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14361</commentid>
    <comment_count>1</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2007-03-09 14:14:46 +0000</bug_when>
    <thetext>Frans:

Thanks for the comment.  Removed variable declaration.

carmelo</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>