dims 01/04/23 07:38:52
Modified: src/org/apache/cocoon/components/language/markup/sitemap/java
Tag: xml-cocoon2 sitemap.xsl
Log:
Throw exception for sub sitemaps if error handler is not specified.
Revision Changes Path
No revision
No revision
1.1.2.101 +2 -1
xml-cocoon/src/org/apache/cocoon/components/language/markup/sitemap/java/Attic/sitemap.xsl
Index: sitemap.xsl
===================================================================
RCS file:
/home/cvs/xml-cocoon/src/org/apache/cocoon/components/language/markup/sitemap/java/Attic/sitemap.xsl,v
retrieving revision 1.1.2.100
retrieving revision 1.1.2.101
diff -u -r1.1.2.100 -r1.1.2.101
--- sitemap.xsl 2001/04/21 18:33:21 1.1.2.100
+++ sitemap.xsl 2001/04/23 14:38:51 1.1.2.101
@@ -98,7 +98,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.1.2.100 2001/04/21 18:33:21 giacomo
Exp $
+ * @version CVS $Id: sitemap.xsl,v 1.1.2.101 2001/04/23 14:38:51 dims
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"/>";
@@ -438,6 +438,7 @@
</xsl:when>
<xsl:otherwise>
getLogger().error("Sitemap", e);
+ throw e;
</xsl:otherwise>
</xsl:choose>
}
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]