<?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>14328</bug_id>
          
          <creation_ts>2011-09-28 18:14:54 +0000</creation_ts>
          <short_desc>[QT3] \u escape sequences</short_desc>
          <delta_ts>2011-10-10 15:51:10 +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>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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="Andrew Eisenberg">andrew.eisenberg</reporter>
          <assigned_to name="Michael Kay">mike</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>57481</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2011-09-28 18:14:54 +0000</bug_when>
    <thetext>Test case re00556 is defined as:

   &lt;test-case name=&quot;re00556&quot;&gt;
      &lt;description&gt;Test regex syntax&lt;/description&gt;
      &lt;created by=&quot;Michael Kay&quot; on=&quot;2011-07-04&quot;/&gt;
      &lt;test&gt;matches(&apos;qwerty&apos;,&apos;[\u0554-\u0557]+&apos;)&lt;/test&gt;
      &lt;result&gt;
         &lt;error code=&quot;FORX0002&quot;/&gt;
      &lt;/result&gt;
   &lt;/test-case&gt;


The \u escape sequences seem out of place.

These escape sequences also appear in:

re00558
re00561
re00562
re00563
re00564
re00598
re00741
re00787</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57940</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2011-10-07 14:58:37 +0000</bug_when>
    <thetext>I&apos;m not sure what the problem is. The XPath regex syntax does not allow \u, and these tests check that it is rejected.

(By way of explanation, these tests were ultimately derived from a regex test library used somewhere in Microsoft, and used to test a different regex dialect: they were extracted from the W3C XSD tests contributed by Microsoft. In consequence. many of them are regular expressions that are valid in some regex dialect but not in XPath. This does not reduce the usefulness of the tests, so long as the expected results are adjusted accordingly.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58004</commentid>
    <comment_count>2</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2011-10-10 15:50:54 +0000</bug_when>
    <thetext>My mistake. For some reason I thought that the test case expected \u0554 and \u0557 to be interpreted as unicode characters.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>