<?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>5817</bug_id>
          
          <creation_ts>2008-06-27 15:33:22 +0000</creation_ts>
          <short_desc>CVS: functx-functx-path-to-node-with-pos-2</short_desc>
          <delta_ts>2008-11-17 09:06:55 +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>INVALID</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="Frans Englich">frans.englich</assigned_to>
          <cc>davidc</cc>
    
    <cc>frans.englich</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>20964</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2008-06-27 15:33:22 +0000</bug_when>
    <thetext>Could the comparison type of tests:

functx-functx-path-to-node-with-pos-2

functx-functx-path-to-node-with-pos-all

functx-functx-escape-for-regex-2

functx-functx-escape-for-regex-all

please be changed from

compare=&quot;Fragment&quot;

to

compare=&quot;Text&quot;

Each test returns a string.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21298</commentid>
    <comment_count>1</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2008-07-23 10:39:43 +0000</bug_when>
    <thetext>Is it possible that we don&apos;t? It&apos;s a messy change to do(these tests are generated), and technically the results are XML fragments, and wrapping with an element should work; although I suspect the Text method would be slightly more convenient. Feel free to elaborate on how you see it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21300</commentid>
    <comment_count>2</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2008-07-23 10:45:10 +0000</bug_when>
    <thetext>See also http://www.w3.org/XML/Query/test-suite/Guidelines for Running the XML Query Test Suite.html , which reads:

Text: Same comparison as &quot;XML fragment&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21350</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2008-07-28 08:18:32 +0000</bug_when>
    <thetext>It&apos;s not the comparison itself which is causing the problem, but rather the reading of the result.

For some reason, the Microsoft XmlReader gives an error while reading the results for these as XML fragments.  If the comparison mode is Text, we read the result without using an XmlReader and everything works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21351</commentid>
    <comment_count>4</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2008-07-28 08:45:54 +0000</bug_when>
    <thetext>&gt; If the comparison mode is Text, we read
&gt; the result without using an XmlReader and everything works.

text comparison was &quot;clarified&quot; as meaning the same as xml fragment early on as
several of the standard test result files that were marked as text comparison were in fact subject to xml encoding, &amp;lt; for &lt; etc, so in both cases you need to wrap in an element and parse as xml.

see bug #1863, bug #2402, and other similar ones of that vintage:-)

David
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21353</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2008-07-28 12:24:39 +0000</bug_when>
    <thetext>Our problem seems to be with Microsoft&apos;s .NET XML parser, which is able to parse:

\[a\]

but not:

\\[ab\\]

I&apos;ve reported the problem to Microsoft.  It&apos;s bug ID 358196 if any kind reader would like to vote for it!

I think we&apos;ll have to hack around it in our XQTS runner for the moment, but would be grateful if the catalog could be changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22454</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2008-11-17 09:06:55 +0000</bug_when>
    <thetext>Microsoft say they&apos;ll fix this bug in .NET 4.0.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>