W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2006

[Bug 3601] K-ReplaceFunc-6, K-ReplaceFunc-8 and K-ReplaceFunc-9 don't require the replacement pattern to be evaluated

From: <bugzilla@wiggum.w3.org>
Date: Tue, 15 Aug 2006 15:42:28 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GD13k-0008Tl-Oc@wiggum.w3.org>

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

           Summary: K-ReplaceFunc-6, K-ReplaceFunc-8 and K-ReplaceFunc-9
                    don't require the replacement pattern to be evaluated
           Product: XML Query Test Suite
           Version: 0.9.4
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: martin@x-hive.com
         QAContact: public-qt-comments@w3.org


K-ReplaceFunc-6, K-ReplaceFunc-8, K-ReplaceFunc-9 expect errors because of
illegal replacement patterns:
> replace("input", "pattern", "thisIsInvalid\ ")

However the implementation does not need to evaluate the replacement pattern to
evaluate the query because the input doesn't match the pattern, so it's free
not to give an error but rather return the empty sequence.
Received on Tuesday, 15 August 2006 15:42:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:44 GMT