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 30029 - [qt3ts] Some tests in matches-50 assume the XSD 1.0 regex rules
Summary: [qt3ts] Some tests in matches-50 assume the XSD 1.0 regex rules
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-03 12:13 UTC by Michael Kay
Modified: 2016-12-03 16:08 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2016-12-03 12:13:50 UTC
Test matches-50 is a conversion of a regular expression test suite originally designed for Perl. It contains many individual tests.

Within this, tests p888, 889, 890, 891 use the construct "[\d-X]" (with different values of X). In XSD 1.0 this is an error. In XSD 1.1 it is allowed (the construct is not treated as a range, instead the "-" is treated as matching a hyphen).
Comment 1 Michael Kay 2016-12-03 16:08:24 UTC
I've implemented the least-effort solution which is to add a dependency on XSD 1.0 for the entire test.