vgritsenko 01/09/07 20:32:40
Modified: src/org/apache/cocoon/components/language/markup/sitemap/java
Tag: cocoon_20_branch sitemap.xsl
Log:
fix actions in error handler
Revision Changes Path
No revision
No revision
1.11.2.30 +4 -4
xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl
Index: sitemap.xsl
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl,v
retrieving revision 1.11.2.29
retrieving revision 1.11.2.30
diff -u -r1.11.2.29 -r1.11.2.30
--- sitemap.xsl 2001/08/30 08:48:55 1.11.2.29
+++ sitemap.xsl 2001/09/08 03:32:40 1.11.2.30
@@ -124,7 +124,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Giacomo Pati</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Berin Loritsch</a>
- * @version CVS $Id: sitemap.xsl,v 1.11.2.29 2001/08/30 08:48:55 sylvain Exp $
+ * @version CVS $Id: sitemap.xsl,v 1.11.2.30 2001/09/08 03:32:40 vgritsenko Exp
$
*/
public class <xsl:value-of select="@file-name"/> extends AbstractSitemap {
static final String LOCATION = "<xsl:value-of select="translate(@file-path,
'/', '.')"/>.<xsl:value-of select="@file-name"/>";
@@ -514,7 +514,7 @@
<xsl:when test="(./map:handle-errors[@type='404'])">
getLogger().warn("404, try to process the error page", e);
try {
- return error_process_<xsl:value-of
select="$pipeline-position"/>_404 (environment,
+ return error_process_<xsl:value-of
select="$pipeline-position"/>_404 (redirector, environment,
environment.getObjectModel(), e, internalRequest);
} catch (Exception ex) {
getLogger().warn("Sitemap Error Process", ex);
@@ -531,7 +531,7 @@
<xsl:when test="(./map:handle-errors[not(@type) or (@type='500')])">
getLogger().warn("Error, try to process the error page", e);
try {
- return error_process_<xsl:value-of
select="$pipeline-position"/>_500 (environment,
+ return error_process_<xsl:value-of
select="$pipeline-position"/>_500 (redirector, environment,
environment.getObjectModel(), e, internalRequest);
} catch (Exception ex) {
getLogger().warn("Sitemap Error Process", ex);
@@ -570,7 +570,7 @@
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
- private boolean error_process_<xsl:value-of
select="concat($pipeline-position,$type)"/> (Environment environment, Map objectModel,
Exception e, boolean internalRequest)
+ private boolean error_process_<xsl:value-of
select="concat($pipeline-position,$type)"/> (SitemapRedirector redirector, Environment
environment, Map objectModel, Exception e, boolean internalRequest)
throws Exception {
EventPipeline eventPipeline = null;
StreamPipeline pipeline = null;
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]