<?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>4466</bug_id>
          
          <creation_ts>2007-04-13 11:11:53 +0000</creation_ts>
          <short_desc>K2-MatchesFunc-16</short_desc>
          <delta_ts>2013-06-13 10:23:59 +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 XP</op_sys>
          <bug_status>RESOLVED</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="Michael Kay">mike</reporter>
          <assigned_to name="Frans Englich">frans.englich</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>14720</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2007-04-13 11:11:53 +0000</bug_when>
    <thetext>The validity of this expression hinges on the rules for use of &quot;-&quot; within a character class expression. The rules for this have a tortuous history and there are still bugs open against the XML Schema spec (see bug #1889)

Currently the grammar rule

[17] charRange ::=  seRange | XmlCharIncDash 

states that hyphen is permitted in the context used in this example.

Below this, the text (a) incorrectly states that the grammar is ambiguous, (b) in bullet 1 says that hyphen is not a valid character range (which flatly contradicts the grammar), and (c) in bullet 3 says that hyphen is a valid character range if it appears and the beginning or end of a positive character group (without saying what it means: on one interpretation this hyphen is at the end of a positive character group; it just doesn&apos;t happen to be the longest-possible positive character group).

So the schema spec here is a mess and is essentially untestable until they sort this out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15148</commentid>
    <comment_count>1</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2007-05-23 09:11:19 +0000</bug_when>
    <thetext>This test is disabled now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>