<?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>5871</bug_id>
          
          <creation_ts>2008-07-17 13:46:43 +0000</creation_ts>
          <short_desc>CVS: wrong corresponding XQueryX tests</short_desc>
          <delta_ts>2010-04-20 11:59:22 +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>Windows NT</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="Tim Mills">tim</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</assigned_to>
          <cc>jim.melton</cc>
    
    <cc>jmdyck</cc>
    
    <cc>nick</cc>
    
    <cc>oliver</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>21212</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2008-07-17 13:46:43 +0000</bug_when>
    <thetext>I think some of the conversions of queries to XQueryX are wrong.

Additional whitespace characters have been introduced in:

K2-Literals-28
K2-Literals-39

K2-DirectConOther-50
K2-DirectConOther-54
K2-DirectConOther-68
K2-DirectConOther-69
K2-DirectConOther-70


The &apos;stable&apos; specifiers on the &quot;order by&quot; clause are missing in:

K2-OrderbyExprWithout-13
version_declaration-003
version_declaration-004
prolog-version-6
prolog-version-7
XMark-Q19
XMark-All

There was a recent change to K2-SeqExprCast-422 which has not been reflected in the XQueryX conversion.

Error XQST0087 cannot be raised by XQueryX, so the following XQueryX queries should be removed:

K-VersionProlog-3
K-VersionProlog-4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21215</commentid>
    <comment_count>1</comment_count>
    <who name="Nick Jones">nick</who>
    <bug_when>2008-07-17 15:44:47 +0000</bug_when>
    <thetext>K2-SeqIntersect-42 also has a missing empty(...) function call wrapping the test in the XQueryX version</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21216</commentid>
    <comment_count>2</comment_count>
    <who name="Oliver Hallam">oliver</who>
    <bug_when>2008-07-17 16:16:01 +0000</bug_when>
    <thetext>fn-doc-33 is another test missing the &quot;stable&quot; order specifier

extvardeclwithtype-23 is missing some whitespace at the end of the css style element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21234</commentid>
    <comment_count>3</comment_count>
    <who name="Oliver Hallam">oliver</who>
    <bug_when>2008-07-18 15:26:31 +0000</bug_when>
    <thetext>Additional whitespace characters have also been introduced in K2-DirectConElemAttr-75</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21235</commentid>
    <comment_count>4</comment_count>
    <who name="Oliver Hallam">oliver</who>
    <bug_when>2008-07-18 15:32:20 +0000</bug_when>
    <thetext>version_declaration-10 is another case that should be removed since it expects XQST0087
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21276</commentid>
    <comment_count>5</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2008-07-22 15:19:55 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Additional whitespace characters have been introduced in:
&gt; 
&gt; K2-Literals-28
&gt; K2-Literals-39
&gt; 
&gt; K2-DirectConOther-50
&gt; K2-DirectConOther-54
&gt; K2-DirectConOther-68
&gt; K2-DirectConOther-69
&gt; K2-DirectConOther-70

Some of these XQueryX documents were updated on 2008/7/14 (in CVS, ... our XQTS zip file has not been updated in a while). Please take a look again and if you believe that they are still wrong, then please let me know what characters have been introduced and in what locations.

&gt; The &apos;stable&apos; specifiers on the &quot;order by&quot; clause are missing in:
&gt; 
&gt; K2-OrderbyExprWithout-13
&gt; version_declaration-003
&gt; version_declaration-004
&gt; prolog-version-6
&gt; prolog-version-7
&gt; XMark-Q19
&gt; XMark-All

Agreed. These XQueryX documents have been updated. I&apos;ll republish our XQuery applet in the near future.

&gt; There was a recent change to K2-SeqExprCast-422 which has not been reflected in
&gt; the XQueryX conversion.

K2-SeqExprCast-422.xqx was updated on 2008/7/14. Perhaps it contains the change that you refer to.

&gt; Error XQST0087 cannot be raised by XQueryX, so the following XQueryX queries
&gt; should be removed:
&gt; 
&gt; K-VersionProlog-3
&gt; K-VersionProlog-4

Agreed. These XQueryX documents have been removed.


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21277</commentid>
    <comment_count>6</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2008-07-22 15:21:31 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; K2-SeqIntersect-42 also has a missing empty(...) function call wrapping the
&gt; test in the XQueryX version

K2-SeqIntersect-42.xqx was updated on 2008/7/14.2008/7/14. I believe that it contains the missing function call.


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21278</commentid>
    <comment_count>7</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2008-07-22 15:24:31 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; fn-doc-33 is another test missing the &quot;stable&quot; order specifier

Agreed. These XQueryX documents have been updated.

&gt; extvardeclwithtype-23 is missing some whitespace at the end of the css style
&gt; element.

Sorry, but I need more information on this missing whitespace.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21279</commentid>
    <comment_count>8</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2008-07-22 15:25:25 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Additional whitespace characters have also been introduced in
&gt; K2-DirectConElemAttr-75

As above, more information please.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21280</commentid>
    <comment_count>9</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2008-07-22 15:26:08 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; version_declaration-10 is another case that should be removed since it expects
&gt; XQST0087

Agreed. This XQueryX document has been removed.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21281</commentid>
    <comment_count>10</comment_count>
    <who name="Oliver Hallam">oliver</who>
    <bug_when>2008-07-22 16:32:04 +0000</bug_when>
    <thetext>fn-doc-33 and K2-OrderbyExprWithout-13 are still missing stable order-bys.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21282</commentid>
    <comment_count>11</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2008-07-22 22:14:54 +0000</bug_when>
    <thetext>(In reply to comment #10)
&gt; fn-doc-33 and K2-OrderbyExprWithout-13 are still missing stable order-bys.

I have to disagree. 

Looking at fn-doc-33 in CVS,
http://dev.w3.org/cvsweb/~checkout~/2006/xquery-test-suite/TestSuiteStagingArea/Queries/XQueryX/Functions/NodeSeqFunc/SeqDocFunc/fn-doc-33.xqx?rev=1.2&amp;content-type=text/plain,
I see the following:

              &lt;xqx:orderByClause&gt;
                &lt;xqx:stable/&gt;
                &lt;xqx:orderBySpec&gt;
                  &lt;xqx:orderByExpr&gt;
                    &lt;xqx:functionCallExpr&gt;
                      &lt;xqx:functionName&gt;string&lt;/xqx:functionName&gt;
                      &lt;xqx:arguments&gt;
                        &lt;xqx:varRef&gt;
                          &lt;xqx:name&gt;i&lt;/xqx:name&gt;
                        &lt;/xqx:varRef&gt;
                      &lt;/xqx:arguments&gt;
                    &lt;/xqx:functionCallExpr&gt;
                  &lt;/xqx:orderByExpr&gt;
                &lt;/xqx:orderBySpec&gt;
              &lt;/xqx:orderByClause&gt;

Looking at K2-OrderbyExprWithout-13 in CVS,
http://dev.w3.org/cvsweb/~checkout~/2006/xquery-test-suite/TestSuiteStagingArea/Queries/XQueryX/FLWORExpr/OrderbyExpr/OrderbyExprWithout/K2-OrderbyExprWithout-13.xqx?rev=1.2&amp;content-type=text/plain,
I see the following:

        &lt;xqx:orderByClause&gt;
          &lt;xqx:stable/&gt;
          &lt;xqx:orderBySpec&gt;
            &lt;xqx:orderByExpr&gt;
              &lt;xqx:varRef&gt;
                &lt;xqx:name&gt;b&lt;/xqx:name&gt;
              &lt;/xqx:varRef&gt;
            &lt;/xqx:orderByExpr&gt;
          &lt;/xqx:orderBySpec&gt;
        &lt;/xqx:orderByClause&gt;

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21283</commentid>
    <comment_count>12</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2008-07-22 22:31:32 +0000</bug_when>
    <thetext>I&apos;ve fixed the extraneous whitespace in the following XQueryX test cases:

K2-DirectConElemAttr-75
K2-DirectConOther-50
K2-DirectConOther-53
K2-DirectConOther-54
K2-DirectConOther-68
K2-DirectConOther-69
K2-DirectConOther-70

I believe that I&apos;ve fixed all of the test cases reported in comment #3, and all but the following test cases reported in comment #0:

K2-Literals-28
K2-Literals-39

On these I still need more information.


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21295</commentid>
    <comment_count>13</comment_count>
    <who name="Oliver Hallam">oliver</who>
    <bug_when>2008-07-23 10:23:10 +0000</bug_when>
    <thetext>Apologies with regard to fn-doc-33 and K2-OrderbyExprWithout-13 - they have been correctly fixed.

With regards to extvardeclwithtype-23, the XQ version has this element constructor (on line 68):

    &lt;style type=&quot;text/css&quot;&gt;
        .details
        {{
            text-align: center;
            font-size: 80%;
            color: gray
        }}
        .variableName
        {{
            font-family: courier
        }}
    &lt;/style&gt;

The equivalent part of the XQX version has this constructor:

          &lt;xqx:elementConstructor&gt;
            &lt;xqx:tagName&gt;style&lt;/xqx:tagName&gt;
            &lt;xqx:attributeList&gt;
              &lt;xqx:attributeConstructor&gt;
                &lt;xqx:attributeName&gt;type&lt;/xqx:attributeName&gt;
                &lt;xqx:attributeValue&gt;text/css&lt;/xqx:attributeValue&gt;
              &lt;/xqx:attributeConstructor&gt;
            &lt;/xqx:attributeList&gt;
            &lt;xqx:elementContent&gt;
              &lt;xqx:stringConstantExpr&gt;
                &lt;xqx:value&gt;
        .details
        {
            text-align: center;
            font-size: 80%;
            color: gray
        }
        .variableName
        {
            font-family: courier
        }&lt;/xqx:value&gt;
              &lt;/xqx:stringConstantExpr&gt;
            &lt;/xqx:elementContent&gt;
          &lt;/xqx:elementConstructor&gt;

which evaluates to:
    &lt;style type=&quot;text/css&quot;&gt;
        .details
        {
            text-align: center;
            font-size: 80%;
            color: gray
        }
        .variableName
        {
            font-family: courier
        }&lt;/style&gt;

missing the newline and indentation at the end of the text node.


K2Literals-28 and K2-Literals-39 seem fine to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21309</commentid>
    <comment_count>14</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2008-07-23 22:12:05 +0000</bug_when>
    <thetext>(In reply to comment #13)

&gt; The equivalent part of the XQX version has this constructor:
&gt; 
&gt; 
&gt;               &lt;xqx:stringConstantExpr&gt;
&gt;                 &lt;xqx:value&gt;
&gt;         .details
&gt;         {
&gt;             text-align: center;
&gt;             font-size: 80%;
&gt;             color: gray
&gt;         }
&gt;         .variableName
&gt;         {
&gt;             font-family: courier
&gt;         }&lt;/xqx:value&gt;
&gt;               &lt;/xqx:stringConstantExpr&gt;

I believe the XQueryX that has been generated is correctly reflecting an implicit value of strip for the Boundary-space policy static context property. The removal of the trailing whitespace is covered by section 3.7.1.4, Boundary Whitespace.

The addition of &quot;declare boundary-space preserve;&quot; would generate  

              &lt;xqx:stringConstantExpr&gt;
                &lt;xqx:value&gt;
        .details
        {
            text-align: center;
            font-size: 80%;
            color: gray
        }
        .variableName
        {
            font-family: courier
        }
    &lt;/xqx:value&gt;
              &lt;/xqx:stringConstantExpr&gt;

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21310</commentid>
    <comment_count>15</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2008-07-23 22:34:24 +0000</bug_when>
    <thetext>(In reply to comment #14)

&gt; I believe the XQueryX that has been generated is correctly reflecting an
&gt; implicit value of strip for the Boundary-space policy static context property.
&gt; The removal of the trailing whitespace is covered by section 3.7.1.4, Boundary
&gt; Whitespace.

The final white space comes between }} and &lt;/style&gt;

}} is 	CommonContent not a DirectConstructor, or an EnclosedExpr, so I don&apos;t think that this is boundary whitespace, so should not be stripped irrespective of the setting of the boundary-space policy,

David

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21338</commentid>
    <comment_count>16</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2008-07-25 17:53:37 +0000</bug_when>
    <thetext>(In reply to comment #15)

&gt; }} is   CommonContent not a DirectConstructor, or an EnclosedExpr, so I don&apos;t
&gt; think that this is boundary whitespace, so should not be stripped irrespective
&gt; of the setting of the boundary-space policy,

Quite so, David.

Looking more closely, I found that the code generating the XQueryX was giving special consideration to {{ and not to }}. I&apos;ve corrected this and posted a new version of extvardeclwithtype-23.xqx and extvardeclwithtype-23-static-cbcl.xqx.


Tim, Nick, and Oliver, I believe that this addresses the last of the issues that you have raised. Please let me know if this is the case.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21356</commentid>
    <comment_count>17</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2008-07-28 15:29:55 +0000</bug_when>
    <thetext>We think that all the XQueryX tests now work, so I&apos;ll close this report.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31273</commentid>
    <comment_count>18</comment_count>
    <who name="Nick Jones">nick</who>
    <bug_when>2010-01-27 10:50:42 +0000</bug_when>
    <thetext>I think this bug has reappeared - presumably when someone recreated the XQueryX tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31293</commentid>
    <comment_count>19</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-01-27 21:27:40 +0000</bug_when>
    <thetext>Looking quickly at this bug, it appears that there were several XQueryX bugs that I fixed. Please tell me which XQueryX test cases have reverted to their previous states and I&apos;ll get them fixed again.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31311</commentid>
    <comment_count>20</comment_count>
    <who name="Nick Jones">nick</who>
    <bug_when>2010-01-28 11:24:19 +0000</bug_when>
    <thetext>K2-DirectConOther-50
K2-DirectConOther-52
K2-DirectConOther-53
K2-DirectConOther-54
K2-DirectConOther-68
K2-DirectConOther-69
K2-DirectConOther-70
K-VersionProlog-3
K-VersionProlog-4
version_declaration-010
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31405</commentid>
    <comment_count>21</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-02-02 22:31:26 +0000</bug_when>
    <thetext>I&apos;ve removed these XQueryX documents for these test cases (and ensured that they will not reappear):

K-VersionProlog-3
K-VersionProlog-4
version_declaration-010

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31407</commentid>
    <comment_count>22</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-02-02 23:01:58 +0000</bug_when>
    <thetext>I&apos;m struggling with the other test cases that you&apos;ve identified. Let&apos;s look at K2-DirectConOther-50. The query is:

string(&lt;e&gt;&lt;![CDATA[

]]&gt;&lt;/e&gt;) eq &quot;&amp;#xA;&quot;


Looking at it again, I see:

   string(&lt;e&gt;&lt;![              73 74 72 69 6E 67 28 3C 65 3E 3C 21 5B 
CDATA[...]]&gt;&lt;/e&gt;     43 44 41 54 41 5B 0D 0D 0A 5D 5D 3E 3C 2F 65 3E 
) eq &quot;&amp;#xA;&quot;         29 20 65 71 20 22 26 23 78 41 3B 22 


The XQueryX that I generated for this test case was, in part:

    &lt;xqx:value&gt;&lt;                 3C 78 71 78 3A 76 61 6C 75 65 3E 3C 
![CDATA[..]]&gt;&lt;/x     21 5B 43 44 41 54 41 5B 0A 0A 5D 5D 3E 3C 2F 78 
qx:value&gt;..          71 78 3A 76 61 6C 75 65 3E 0D 0A 20 20 20 20 20 


CVS seems to be changing this, but in a benign way. When I reload the current version, I see:

       &lt;xqx:valu                          3C 78 71 78 3A 76 61 6C 75 
e&gt;&lt;![CDATA[....]     65 3E 3C 21 5B 43 44 41 54 41 5B 0D 0A 0D 0A 5D 
]&gt;&lt;/xqx:value&gt;..     5D 3E 3C 2F 78 71 78 3A 76 61 6C 75 65 3E 0D 0A 


The previous version of the XQueryX was:

       &lt;xqx:valu                          3C 78 71 78 3A 76 61 6C 75 
e&gt;&lt;![CDATA[..]]&gt;     65 3E 3C 21 5B 43 44 41 54 41 5B 0D 0A 5D 5D 3E 
&lt;/xqx:value&gt;..       3C 2F 78 71 78 3A 76 61 6C 75 65 3E 0D 0A 20 20 


I&apos;m thinking that the current version (with or without the CVS change) reflects the rules in A.2.3 End-of-Line Handling. This interpretation would mean that the expected result of true is incorrect.


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33571</commentid>
    <comment_count>23</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2010-03-15 10:31:29 +0000</bug_when>
    <thetext>Sorry for the delay in responding to this.

The original query K2-DirectConOther-50.xq I see in CVS is:

string(&lt;e&gt;&lt;![CDATA[
]]&gt;&lt;/e&gt;) eq &quot;&amp;#xA;&quot;

0000600 6e69 2867 653c 3c3e 5b21 4443 5441 5b41          ing(&lt;e&gt;&lt;![CDATA[
0000620 0a0d 5d5d 3c3e 652f 293e 6520 2071 2622        \r\n]]&gt;&lt;/e&gt;) eq &quot;&amp;

which contains only a single \r\n, equivalent to &amp;xA;, not the two you show in Comment #22.

In K2-DirectConOther-50.xqx I get from CVS

0001420 3e65 213c 435b 4144 4154 0d5b 0d0a 5d0a          e&gt;&lt;![CDATA[\r\n\r\n]
0001440 3e5d 2f3c 7178 3a78 6176 756c 3e65 0a0d          ]&gt;&lt;/xqx:value&gt;\r\n

So the left hand string is \r\n\r\n which is equivalent to &amp;xA;&amp;xA;, but is being compared against a single &amp;xA;.

0002260 2020 783c 7871 763a 6c61 6575 263e 7823            &lt;xqx:value&gt;&amp;#x
0002300 3b41 2f3c 7178 3a78 6176 756c 3e65 0a0d          A;&lt;/xqx:value&gt;\r\n



</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33768</commentid>
    <comment_count>24</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-03-22 20:07:24 +0000</bug_when>
    <thetext>So, we are seeing K2-DirectConOther-50.xq differently. You are seeing 0a 0d in the CDATA section, while I am seeing 0D 0D 0A. This seems like an OS and/or CVS issue. I&apos;m using WinXP and WinCVS. Perhaps you could let me know what you are using.

Looking further, I see 0D 0A in the CDATA section when I download the file directly from cvsweb.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33829</commentid>
    <comment_count>25</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-03-23 23:04:28 +0000</bug_when>
    <thetext>I&apos;ve replaced K2-DirectConOther-50.xq with K2-DirectConOther-50-binary.xq, checked it into CVS as a binary file and created a corresponding XQueryX file. The new file has 0D 0A in the CDATA section.

Please let me know if you see the correct characters in the query and if the corresponding XQueryX is correct. If it is, then I will do the same thing for the other test cases that you have identified.



</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33837</commentid>
    <comment_count>26</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2010-03-24 01:12:30 +0000</bug_when>
    <thetext>(In reply to comment #25)
&gt; I&apos;ve replaced K2-DirectConOther-50.xq with K2-DirectConOther-50-binary.xq,
&gt; checked it into CVS as a binary file and created a corresponding XQueryX file.
&gt; The new file has 0D 0A in the CDATA section.
&gt; 
&gt; ... I will do the same thing for the other test cases that you have identified.

It would be easier to just change the substitution mode on the existing files, via &quot;cvs admin -kb&quot;.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33905</commentid>
    <comment_count>27</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2010-03-25 10:02:09 +0000</bug_when>
    <thetext>(In reply to comment #24)
I&apos;m using Windows 7 with TortoiseCVS.

I&apos;ve updated from CVS and see files:

K2-DirectConOther-50-binary.xq
K2-DirectConOther-50.xq

each of length 421 bytes.  The files appear to be identical.

I also see:

K2-DirectConOther-50.xqx

of length 1376 bytes.

and

K2-DirectConOther-50-binary.xqx

of length 1374 bytes.

I believe K2-DirectConOther-05-binary.xqx to be correct, and gives the result &quot;true&quot; when executed.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34442</commentid>
    <comment_count>28</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-04-02 22:03:36 +0000</bug_when>
    <thetext>(In reply to comment #26)
&gt; It would be easier to just change the substitution mode on the existing files,
&gt; via &quot;cvs admin -kb&quot;.

I&apos;m using WinCVS, and it will not allow me to change the substitution mode of files.

Michael, I&apos;d appreciate it if you would change the substituion mode and force a new version of these queries:

K2-DirectConOther-50.xq
K2-DirectConOther-52.xq
K2-DirectConOther-53.xq
K2-DirectConOther-54.xq
K2-DirectConOther-68.xq
K2-DirectConOther-69.xq
K2-DirectConOther-70.xq

I&apos;ll regenerate the XQueryX for them once you have done so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34448</commentid>
    <comment_count>29</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2010-04-02 23:01:40 +0000</bug_when>
    <thetext>&gt; Michael, I&apos;d appreciate it if you would change the substituion mode

Done.

&gt; and force a new version

Unnecessary, I think, but I did it to have somewhere to log the change in substitution mode and refer to this Bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34528</commentid>
    <comment_count>30</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-04-05 02:15:44 +0000</bug_when>
    <thetext>Michael, thanks. I see new versions of these queries and have generated new XQueryX for them.

Nick and Tim, I believe that the XQueryX for these test cases is now correct.

I&apos;m in an optimistic mood, and so will change the status to FIXED. I&apos;ll wait to see whether you close or reopen this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34591</commentid>
    <comment_count>31</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2010-04-06 08:39:41 +0000</bug_when>
    <thetext>All fixed, except for K2-DirectConElemAttr-75 (XQueryX only).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34597</commentid>
    <comment_count>32</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-04-06 13:07:35 +0000</bug_when>
    <thetext>Michael, please change the substitution mode of K2-DirectConElemAttr-75.xq for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34620</commentid>
    <comment_count>33</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2010-04-06 21:47:43 +0000</bug_when>
    <thetext>Done.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35033</commentid>
    <comment_count>34</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-04-14 20:30:09 +0000</bug_when>
    <thetext>I&apos;ve generated a new version of K2-DirectConElemAttr-75.xqx.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35156</commentid>
    <comment_count>35</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2010-04-20 11:59:22 +0000</bug_when>
    <thetext>Confirmed fixed - thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>