[Bug 1878] New: [XPath] calls to non-existent functions are static errors

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

           Summary: [XPath] calls to non-existent functions are static
                    errors
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
               URL: http://www.w3.org/Bugs/Public/show_bug.cgi?id=1230
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XPath
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


In section 3.1.5, XPath contains the statement:

If the expanded QName and number of arguments in a function call do not match
the name and arity of a function signature in the static context, an error is
raised (the host language environment may define this error as either a static
or a dynamic error) [err:XPST0017].

The clause in parentheses is there because XSLT until recently defined this
error as a dynamic error when running in forwards-compatibility mode. Following
a recent decision on issue 1230, this is no longer the case. Therefore, the
clause can now be removed. The paragraph can now be replaced with the version
that is used in the XQuery specification.

Michael Kay

Received on Monday, 22 August 2005 15:01:50 UTC