<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>1878</bug_id>
          
          <creation_ts>2005-08-22 15:01:41 +0000</creation_ts>
          <short_desc>[XPath] calls to non-existent functions are static errors</short_desc>
          <delta_ts>2015-04-30 15:13:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XPath 2.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/Bugs/Public/show_bug.cgi?id=1230</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Don Chamberlin">chamberl</assigned_to>
          <cc>mike</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5475</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-08-22 15:01:41 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5585</commentid>
    <comment_count>1</comment_count>
    <who name="Don Chamberlin">chamberl</who>
    <bug_when>2005-08-30 16:57:03 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>