Hey everyone,
I am installing my own external function and I had a question on how the error reporting works. I looked at the ExternalFunction sample app that came with Xalan, and I noticed that when the execute() function fails, it seems to return a dummy XObjectPtr. Also the getError() function always returns a string talking about how many arguments to pass in.
I want to perform some type checking in my function, so that if the function doesn't get the type of arguments it wants, I can print out a specific error. My question is how do I return a value from the execute() function that tells the XalanTransformer that execute() failed and to then call my getError() function? I didn't see anything in the API about this. Thanks for any help.
--Ryan
