W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2007

[Bug 4466] K2-MatchesFunc-1

From: <bugzilla@wiggum.w3.org>
Date: Fri, 13 Apr 2007 11:11:54 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1HcJh4-0005rZ-Ea@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4466

           Summary: K2-MatchesFunc-1
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


The validity of this expression hinges on the rules for use of "-" 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'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.
Received on Friday, 13 April 2007 11:11:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:33 UTC