<?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>3974</bug_id>
          
          <creation_ts>2006-11-16 22:16:15 +0000</creation_ts>
          <short_desc>typos in input-file for trivial-{1,2,3,4} tests</short_desc>
          <delta_ts>2007-01-11 19:30:24 +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>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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="Per Bothner">per</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</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>12934</commentid>
    <comment_count>0</comment_count>
    <who name="Per Bothner">per</who>
    <bug_when>2006-11-16 22:16:15 +0000</bug_when>
    <thetext>The tests trivial-1 and trivial-2 both use the same query
trivial-1.xq, and both declare an input-file binding to
the variable &quot;input-context&quot;.  But trivial-1.xq needs an
external variable $input-context1.

Likewise, the tests trivial-3 and trivial-4 both declare
the variable &quot;input-context&quot;, and both use trivial-3.xq,
which needs $input-context1.

None of the queries actually *uses* $input-context1, so I&apos;d
just remove the variable declarations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13188</commentid>
    <comment_count>1</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-12-14 20:34:54 +0000</bug_when>
    <thetext>Per:

Thanks for the comment.  I think you meant &quot;trvial-1&quot; and &quot;trivial-3&quot;.  I corrected the typo on the tests.  Rather than removing the declaration alltogether I made it consistent with the catalog file as per out history.
Marking this item as &quot;FIXED&quot;.  Please close the bug if in agreement.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13191</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-12-14 22:02:14 +0000</bug_when>
    <thetext>Since the &quot;trivial embedding&quot; has been dropped from the spec, these four tests ought to be removed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13231</commentid>
    <comment_count>3</comment_count>
    <who name="Per Bothner">per</who>
    <bug_when>2006-12-18 06:18:59 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Thanks for the comment.  I think you meant &quot;trvial-1&quot; and &quot;trivial-3&quot;.  I
&gt; corrected the typo on the tests.  Rather than removing the declaration
&gt; alltogether I made it consistent with the catalog file as per out history.
&gt; Marking this item as &quot;FIXED&quot;.  Please close the bug if in agreement.

I did a &apos;cvs update&apos; and I don&apos;t see the fix.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13232</commentid>
    <comment_count>4</comment_count>
    <who name="Per Bothner">per</who>
    <bug_when>2006-12-18 06:29:58 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Since the &quot;trivial embedding&quot; has been dropped from the spec, these four tests
&gt; ought to be removed.

Perhaps.  The &quot;trivial embedding&quot; might be a reasonable thing to standardize, but the test-cases are somewhat beside the point.  The trivial embeddeding is not a specification for XQuery per se, but rather a specification for how one might encapsulate XQuery inside an XML file.  As such I don&apos;t see that the tests test for anything real - except that there is a way to evaluate a query passed in as a string.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13268</commentid>
    <comment_count>5</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-12-21 16:28:20 +0000</bug_when>
    <thetext>I double check them again and they look fine.  Perhaps Michael is correct,
we should remove these tests.

Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13269</commentid>
    <comment_count>6</comment_count>
    <who name="Per Bothner">per</who>
    <bug_when>2006-12-21 18:16:25 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; I double check them again and they look fine.

The trivial-{1,3}.xq files are fixed, but the PublicPagesStagingArea/XQTS_current.zip file isn&apos;t updated.  So I manually copied over trivial-{1,3}.xq and now tests trivial-1 and trivial-3 pass.

&gt; Perhaps Michael is correct, we should remove these tests.

If you decide to keep the tests, I&apos;ll make a point of getting them working.  As I said, it doesn&apos;t make sense to talk about XQuery implementing trivial embedding; just a matter of the *testsuite* implementing the trivial embedding.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13452</commentid>
    <comment_count>7</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2007-01-11 19:29:45 +0000</bug_when>
    <thetext>I have removed the test cases for the Trivial XML Embedding Feature.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>