[Bug 26028] New: [XQ30TS] fn-matches-50

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26028

            Bug ID: 26028
           Summary: [XQ30TS] fn-matches-50
           Product: XPath / XQuery / XSLT
           Version: 2nd Edition Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 10 June 2014 10:30:34 UTC