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 26028 - [XQ30TS] fn-matches-50
Summary: [XQ30TS] fn-matches-50
Status: CLOSED INVALID
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: 2nd Edition Recommendation
Hardware: PC Windows NT
: 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: 2014-06-10 10:30 UTC by Tim Mills
Modified: 2014-06-12 08:53 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2014-06-10 10:30:31 UTC
This test might have an error.

For input

 <test id="p1800" regex="( a | ( bc ) ) {0,0} ? xyz" flags="x" input="xyz" result="y"/>

the regex atom is ( a | ( bc ) )

and the quantifier is {0,0}.  This leaves ? unmatched.

[3]   	piece	   ::=   	atom quantifier?
[4]   	quantifier	   ::=   	[?*+] | ( '{' quantity '}' )

Incidentally, the content of the "error" attribute should probably have curly brackets in it.
Comment 1 Tim Mills 2014-06-12 08:53:21 UTC
Invalid.  Please ignore (except for the bit about the error attributes).