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 11007 - Test elemU015 uses a regex deemed illegal in XSD 1.1
Summary: Test elemU015 uses a regex deemed illegal in XSD 1.1
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 NT
: P2 normal
Target Milestone: XSD 1.1 PR
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema Test Suite mailing list
URL:
Whiteboard:
Keywords: needsAgreement
Depends on:
Blocks:
 
Reported: 2010-10-11 14:13 UTC by Michael Kay
Modified: 2011-11-11 16:38 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2010-10-11 14:13:10 UTC
Microsoft test elemU015 uses the regular expression [ae-]x which is invalid according to the rules adopted in XSD 1.1.

I'm not sure whether we have decided this is also disallowed in XSD 1.0. At one stage I think we were considering retrofitting the whole regex appendix from XSD 1.1 to XSD 1.0.
Comment 1 Michael Kay 2011-01-14 16:24:14 UTC
bug #11125 against the spec is relevant
Comment 2 C. M. Sperberg-McQueen 2011-11-04 15:36:44 UTC
For what it's worth, my regex parser says this is legal both in the grammar of 1.0 1E and in that of 1.0 2E, and that no extra-grammatical rules in those specs render it illegal.  The output of the parser is:

Pattern 
Comment 3 Michael Kay 2011-11-04 16:23:24 UTC
Yes, I believe you are correct: according to the rules in the July 2011 CR, this regular expression is legal.