W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > January 2007

[Bug 4118] Regex tests using unescaped square brackets

From: <bugzilla@wiggum.w3.org>
Date: Mon, 01 Jan 2007 10:55:45 +0000
To: public-xml-schema-testsuite@w3.org
Message-Id: <E1H1KpV-0002jY-Bn@wiggum.w3.org>


           Summary: Regex tests using unescaped square brackets
           Product: XML Schema Test Suite
           Version: 2006-11-06
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Microsoft tests
        AssignedTo: ht@inf.ed.ac.uk
        ReportedBy: mike@saxonica.com
         QAContact: public-xml-schema-testsuite@w3.org

The following tests use unescaped square brackets within a character group, in
a context where the nested brackets cannot be interpreted as a subtraction. For
example RegexTest_441 has "[a-f-[]]+" (which cannot be a subtraction because a
character class cannot be empty). In each case the test schema is invalid, but
is marked as valid in the metadata.

   <test group="RegexTest_441" name="RegexTest_441"/>
   <test group="RegexTest_442" name="RegexTest_442"/>
   <test group="RegexTest_443" name="RegexTest_443"/>
   <test group="RegexTest_448" name="RegexTest_448"/>
   <test group="RegexTest_449" name="RegexTest_449"/>
   <test group="RegexTest_450" name="RegexTest_450"/>
   <test group="RegexTest_451" name="RegexTest_451"/>
   <test group="RegexTest_458" name="RegexTest_458"/>
   <test group="RegexTest_464" name="RegexTest_464"/>
   <test group="RegexTest_464" name="RegexTest_464.v"/>
   <test group="RegexTest_465" name="RegexTest_465"/>
   <test group="RegexTest_469" name="RegexTest_469"/>
   <test group="RegexTest_470" name="RegexTest_470"/>
   <test group="RegexTest_471" name="RegexTest_471"/>
   <test group="RegexTest_472" name="RegexTest_472"/>
   <test group="RegexTest_473" name="RegexTest_473"/>
   <test group="RegexTest_477" name="RegexTest_477"/>
   <test group="RegexTest_478" name="RegexTest_478"/>
   <test group="RegexTest_478" name="RegexTest_478.v"/>
   <test group="RegexTest_479" name="RegexTest_479"/>
   <test group="RegexTest_480" name="RegexTest_480"/>
Received on Monday, 1 January 2007 10:55:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:08:48 UTC