dbertoni 02/04/16 22:32:58
Modified: c/src/XPath Function.hpp
Log:
Update documentation.
Revision Changes Path
1.12 +9 -3 xml-xalan/c/src/XPath/Function.hpp
Index: Function.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/Function.hpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Function.hpp 14 Sep 2001 20:06:25 -0000 1.11
+++ Function.hpp 17 Apr 2002 05:32:58 -0000 1.12
@@ -97,7 +97,11 @@
/**
* Execute an XPath function object. The function must return a valid
- * object.
+ * object. Extension functions should override this version of
execute(),
+ * rather than one of the other calls designed for a specific number of
+ * arguments, since the extension function mechanism will call this
+ * version first. Extension functions that accept more than three
+ * arguments _must_ override this version.
*
* @param executionContext executing context
* @param context current context node
@@ -195,9 +199,11 @@
protected:
/**
- * Create a copy of the function object.
+ * Get the error message to report when
+ * the function is called with the wrong
+ * number of arguments.
*
- * @return string function name
+ * @return function error message
*/
virtual const XalanDOMString
getError() const = 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]