[Bug 2698] [XSLT] what if $group-number is a negative integer

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2698

           Summary: [XSLT]  what if $group-number is a negative integer
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: joannet@ca.ibm.com
         QAContact: public-qt-comments@w3.org


The second paragraph in section 15.2 reads:

"The Nth captured substring (where N > 0) is the string matched by the 
subexpression contained by the Nth left parenthesis in the regex. The zeroeth 
captured substring is the string that matches the entire regex. This means 
that the value of regex-group(0) is initially the same as the value of . 
(dot)."

Is N < 0 an error?

Received on Wednesday, 11 January 2006 18:52:03 UTC