This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4116 - Regex tests using octal escape sequences
Summary: Regex tests using octal escape sequences
Status: RESOLVED FIXED
Alias: None
Product: XML Schema Test Suite
Classification: Unclassified
Component: Microsoft tests (show other bugs)
Version: 2006-11-06
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Henry S. Thompson
QA Contact: XML Schema Test Suite mailing list
URL:
Whiteboard: metadata updated 2010-01-26
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-31 18:55 UTC by Michael Kay
Modified: 2010-01-26 12:34 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2006-12-31 18:55:59 UTC
The following tests in the Microsoft regex test set have schemas using patterns that contain octal escapes, for example \077. This is invalid in XML Schema, yet the metadata describes the tests as valid.

RegexTest_141
RegexTest_151
RegexTest_155
RegexTest_517
Comment 1 Michael Kay 2006-12-31 19:10:57 UTC
The following tests also have schemas containing patterns in which there is a backslash followed by a digit. In some cases it apppears this is intended to represent an octal escape, in other cases it appears intended to represent a back-reference; however neither construct is legal in XML Schema regular expressions.

I have not checked that all of these are described as valid in the metadata; a few of them are already marked as status="queried" for other reasons.

RegexTest_141 to RegexTest_143
RegexTest_145 to RegexTest_152
RegexTest_154 to RegexTest_158
RegexTest_517
RegexTest_688
RegexTest_696 to RegexTest_707
RegexTest_836 to RegexTest_837
RegexTest_861 to RegexTest_866
RegexTest_925 to RegexTest_926
RegexTest_976 to RegexTest_977
RegexTest_1008 to RegexTest_1019
RegexTest_1172
RegexTest_1180 to RegexTest_1191
RegexTest_1308
RegexTest_1320
RegexTest_1321
RegexTest_1345 to RegexTest_1350
RegexTest_1365
RegexTest_1409
RegexTest_1410
RegexTest_1455
RegexTest_1456
RegexTest_1492 to RegexTest_1503
Comment 2 Michael Kay 2007-01-01 12:04:20 UTC
Also affects

   <test group="RegexTest_824" name="RegexTest_824"/>
Comment 3 Henry S. Thompson 2010-01-26 12:22:40 UTC
Some of the tests listed above were patched as 'invalid' as a result of bug 4016
Comment 4 Henry S. Thompson 2010-01-26 12:34:17 UTC
HST did check that all the listed/updated tests did contain bogus escapes