<?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>23924</bug_id>
          
          <creation_ts>2013-11-26 11:26:20 +0000</creation_ts>
          <short_desc>[QT3TS] XQueryX conversion of XQST0085b</short_desc>
          <delta_ts>2014-03-18 15:34:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XQuery 3 &amp; XPath 3 Test Suite</component>
          <version>2nd Edition Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>LATER</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="Tim Mills">tim</reporter>
          <assigned_to name="O&apos;Neil Delpratt">oneil</assigned_to>
          <cc>jmdyck</cc>
          
          <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>96824</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2013-11-26 11:26:20 +0000</bug_when>
    <thetext>This test doesn&apos;t seem to match its XQuery counterpart.

Compare:

&lt;a xmlns:foo=&quot;http://www.w3.org/&quot;&gt; &lt;b xmlns:foo=&quot;&quot; /&gt; &lt;/a&gt;

with:

&lt;xqx:mainModule&gt;
    &lt;xqx:queryBody&gt;
      &lt;xqx:functionCallExpr&gt;
        &lt;xqx:functionName&gt;exists&lt;/xqx:functionName&gt;
        &lt;xqx:arguments&gt;
          &lt;xqx:elementConstructor&gt;
            &lt;xqx:tagName&gt;element&lt;/xqx:tagName&gt;
            &lt;xqx:attributeList&gt;
              &lt;xqx:namespaceDeclaration&gt;
                &lt;xqx:prefix&gt;foo&lt;/xqx:prefix&gt;
                &lt;xqx:uri&gt;http://www.w3.org/&lt;/xqx:uri&gt;
              &lt;/xqx:namespaceDeclaration&gt;
            &lt;/xqx:attributeList&gt;
            &lt;xqx:elementContent&gt;
              &lt;xqx:elementConstructor&gt;
                &lt;xqx:tagName&gt;element&lt;/xqx:tagName&gt;
                &lt;xqx:attributeList&gt;
                  &lt;xqx:namespaceDeclaration&gt;
                    &lt;xqx:prefix&gt;foo&lt;/xqx:prefix&gt;
                    &lt;xqx:uri&gt;&lt;/xqx:uri&gt;
                  &lt;/xqx:namespaceDeclaration&gt;
                &lt;/xqx:attributeList&gt;
              &lt;/xqx:elementConstructor&gt;
            &lt;/xqx:elementContent&gt;
          &lt;/xqx:elementConstructor&gt;
        &lt;/xqx:arguments&gt;
      &lt;/xqx:functionCallExpr&gt;
    &lt;/xqx:queryBody&gt;
  &lt;/xqx:mainModule&gt;
&lt;/xqx:module&gt;

Where has the function call to exists come from?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97003</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2013-12-03 01:13:37 +0000</bug_when>
    <thetext>The &lt;test&gt; of test-case XQST0085b was changed from

    exists(&lt;element xmlns:foo=&quot;http://www.w3.org/&quot;&gt;
           &lt;element xmlns:foo=&quot;&quot; /&gt; &lt;/element&gt;)

to

    &lt;a xmlns:foo=&quot;http://www.w3.org/&quot;&gt; &lt;b xmlns:foo=&quot;&quot; /&gt; &lt;/a&gt;

in rev 1.39 of misc/CombinedErrorCodes.xml (2013-11-02).

The XQueryX query appears to be based on the older version of the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102569</commentid>
    <comment_count>2</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2014-03-18 15:34:54 +0000</bug_when>
    <thetext>I am marking this bug as resolved. If you agree, in the next generation of the XQueryX tests we will pick up changes in the tests.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>