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 13922 - Hyphens in regex
Summary: Hyphens in regex
Status: CLOSED FIXED
Alias: None
Product: XML Schema Test Suite
Classification: Unclassified
Component: Saxon tests (show other bugs)
Version: 2006-11-06
Hardware: PC Windows XP
: P2 normal
Target Milestone: XSD 1.1 PR
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema Test Suite mailing list
URL:
Whiteboard:
Keywords: decided
Depends on:
Blocks:
 
Reported: 2011-08-26 15:13 UTC by Sandy Gao
Modified: 2011-10-19 20:17 UTC (History)
2 users (show)

See Also:


Attachments

Description Sandy Gao 2011-08-26 15:13:38 UTC
Related to bug 11125 (spec) and bug 11007 (test).

Test simple043.bad.xsd is expected to be invalid, but should be valid. It has:
            <xs:pattern value="[+-]*"/>

Test simple045.xsd is expected to be valid, but should be invalid. It has:
            <xs:pattern value="[a-z-+]*"/>
The second '-' does not satisfy any of the 4 valid bullets following product 80.
Comment 1 David Ezell 2011-10-07 16:21:35 UTC
Discussed on 2011-10-07.
MK will double-check the spec to be sure, but we agree.
Comment 2 David Ezell 2011-10-07 16:37:36 UTC
First test -- valid 1.1
Second test -- invalid for 1.0, valid for 1.1
Comment 3 Michael Kay 2011-10-07 17:16:38 UTC
simple043 now renamed and marked valid.