dims 01/05/18 09:45:52
Modified: src/org/apache/cocoon/components/language/markup/sitemap/java
sitemap.xsl
Log:
patch for converting resource_ from private to public.
from Steffen Stundzig ([EMAIL PROTECTED])
Revision Changes Path
1.7 +2 -2
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.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sitemap.xsl 2001/05/18 15:08:27 1.6
+++ sitemap.xsl 2001/05/18 16:45:50 1.7
@@ -99,7 +99,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.6 2001/05/18 15:08:27 giacomo Exp $
+ * @version CVS $Id: sitemap.xsl,v 1.7 2001/05/18 16:45:50 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"/>";
@@ -283,7 +283,7 @@
* @return Wether the request has been processed or not
* @exception Exception If an error occurs during request evaluation
and production
*/
- private boolean resource_<xsl:value-of select="translate(@name, '-
', '__')"/> (StreamPipeline pipeline,
+ public boolean resource_<xsl:value-of select="translate(@name, '- ',
'__')"/> (StreamPipeline pipeline,
EventPipeline eventPipeline, List listOfMaps, Environment
environment, String cocoon_view, boolean internalRequest)
throws Exception {
eventPipeline.setSitemap(this);
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]