You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Brian Quinlan <br...@sweetapp.com> on 2002/01/04 23:16:28 UTC
A touch of API sloppyness in Xalan C 1.3
In Xalan C 1.3, there is a new pure virtual function in the "Function"
class:
virtual const XalanDOMString
getError() const = 0;
I don't think that extensions should be required to implement this
function, since it may not be relevant to them if they reimplement:
execute(
XPathExecutionContext& executionContext,
XalanNode* context,
const XObjectArgVectorType& args,
const Locator* locator) const;
I think that the above function should be the only "execute" function
part of "Function", which should only have pure virtual functions. An
implementation helper could be placed in a subclass.
IMHO, of course :-)
Cheers,
Brian
(who had to write a useless getError)