W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2008

[Bug 5573] fn:applyFTTimes() raise improper errors

From: <bugzilla@wiggum.w3.org>
Date: Fri, 14 Mar 2008 16:31:30 +0000
To: public-qt-comments@w3.org
Message-Id: <E1JaCoc-0000kB-U7@wiggum.w3.org>


           Summary: fn:applyFTTimes() raise improper errors
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Full Text 1.0
        AssignedTo: jim.melton@acm.org
        ReportedBy: zhen.liu@oracle.com
         QAContact: public-qt-comments@w3.org

In ApplyFTTimes() errors, we raise dynamic error if there are stringExclude
matches. However, the error number we use is XPST0003, which is defined as "It
is a static error if an expression is not a valid instance of the grammer
defined in A.1 EBNF'. This does not seem to be proper. We shall define and
reserve an error code in Appendix D of the full text for this dynamic errors.
declare function fts:ApplyFTTimes (..)
   if (fn:count($allMatches//fts:stringExclude) gt 0) then
Received on Friday, 14 March 2008 16:32:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:36 UTC