W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2010

[Bug 10261] New: [F&O] return value of fn:replace and fn:tokenize if $pattern does not match

From: <bugzilla@jessica.w3.org>
Date: Thu, 29 Jul 2010 14:29:52 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-10261-523@http.www.w3.org/Bugs/Public/>

           Summary: [F&O] return value of fn:replace and fn:tokenize if
                    $pattern does not match
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: mike@saxonica.com
        ReportedBy: Herbert.Oppmann@siemens.com
         QAContact: public-qt-comments@w3.org

Regarding: Recommendation 23 January 2007, chapter 7.6.3 fn:replace and 7.6.4

The document does not explicitely describe what fn:replace and fn:tokenize
shall return if the $pattern does not match the $input.

I tried it with Altova XMLSpy, the only implementation of XSLT 2.0 I have, and
it returns $input unchanged.

This makes sense, and should be documented.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 29 July 2010 14:29:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:31 UTC