coliver 2004/01/14 07:10:53
Modified: src/java/org/apache/cocoon/components/treeprocessor/sitemap
CallFunctionNode.java
Log:
don't require redirect
Revision Changes Path
1.6 +1 -11
cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/CallFunctionNode.java
Index: CallFunctionNode.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/CallFunctionNode.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- CallFunctionNode.java 11 Nov 2003 21:57:18 -0000 1.5
+++ CallFunctionNode.java 14 Jan 2004 15:10:53 -0000 1.6
@@ -149,11 +149,6 @@
// the function call, so we invoke it here.
if (continuation != null && continuation.length() > 0) {
interpreter.handleContinuation(continuation, params, env);
- if (!redirector.hasRedirected()) {
- throw new ProcessingException("<map:call continuation> did
not send a response, at " + getLocation());
- }
-
- // Success
return true;
}
@@ -164,11 +159,6 @@
if (name != null && name.length() > 0) {
interpreter.callFunction(name, params, env);
- if (!redirector.hasRedirected()) {
- throw new ProcessingException("<map:call function='" + name
+ "'> did not send a response, at " + getLocation());
- }
-
- // Success
return true;
}