This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1878 - [XPath] calls to non-existent functions are static errors
Summary: [XPath] calls to non-existent functions are static errors
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XPath 2.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Don Chamberlin
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL: http://www.w3.org/Bugs/Public/show_bu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-22 15:01 UTC by Michael Kay
Modified: 2015-04-30 15:13 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2005-08-22 15:01:41 UTC
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
Comment 1 Don Chamberlin 2005-08-30 16:57:03 UTC
The change suggested by Michael Kay was approved by the joint Query and XSLT 
working groups on Aug. 30, 2005, and has been implemented in the XPath document.
--Don Chamberlin