<?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>6713</bug_id>
          
          <creation_ts>2009-03-17 21:42:48 +0000</creation_ts>
          <short_desc>XQTS expected result for upper-case category with &quot;i&quot; flag seems incorrect</short_desc>
          <delta_ts>2009-03-21 02:56:07 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/xpath-functions/#flags</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="Andy Agrawal">guerneca2003</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</assigned_to>
          <cc>mike</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>24299</commentid>
    <comment_count>0</comment_count>
    <who name="Andy Agrawal">guerneca2003</who>
    <bug_when>2009-03-17 21:42:48 +0000</bug_when>
    <thetext>The test in question is in the &quot;MatchesFunc&quot; group:

(: Name: caselessmatch15 :)
(: Description: Call of matches() with &quot;i&quot; flag and upper-case category :)
matches(&apos;m&apos;, &apos;\P{Lu}&apos;, &apos;i&apos;)

The expected result for it is true, but that is in direct contradiction of the specification:
http://www.w3.org/TR/xpath-functions/#flags

&quot;4. All other constructs are unaffected by the &quot;i&quot; flag. For example, &quot;\p{Lu}&quot; continues to match upper-case letters only.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24300</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2009-03-17 21:47:58 +0000</bug_when>
    <thetext>The regex is \P{Lu} (note the capital P) which matches all characters that are NOT in category Lu.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24366</commentid>
    <comment_count>2</comment_count>
    <who name="Andy Agrawal">guerneca2003</who>
    <bug_when>2009-03-21 02:56:07 +0000</bug_when>
    <thetext>You&apos;re right, this isn&apos;t a bug. (I had glossed over the capital P). I&apos;m closing it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>