<?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>4017</bug_id>
          
          <creation_ts>2006-11-24 17:38:14 +0000</creation_ts>
          <short_desc>Regex tests using multi-character escapes as range endpoints</short_desc>
          <delta_ts>2008-11-02 16:32:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema Test Suite</product>
          <component>Microsoft tests</component>
          <version>2006-11-06</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>metadata update confirmed 2008-11-01</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Henry S. Thompson">ht</assigned_to>
          
          
          <qa_contact name="XML Schema Test Suite mailing list">public-xml-schema-testsuite</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13023</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-11-24 17:38:14 +0000</bug_when>
    <thetext>In a range such as [s-e], s and e must be single characters. The following tests in TestSet MS-Regex2006-07-15 break this rule by using an escape that represents a set of characters as the endpoint of a range.

These patterns are invalid but the tests are described as valid.

RegexTest_43
RegexTest_44
RegexTest_45
RegexTest_46
RegexTest_47
RegexTest_48
RegexTest_49
RegexTest_50</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20684</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-06-21 14:20:52 +0000</bug_when>
    <thetext>Agreed that these patterns (and hence these schemas) are invalid. 

(Noted that [a-\d] will actually parse, but not as a range; it&apos;s the rules in the prose that make it invalid).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>