dims 00/12/07 05:53:37
Modified: src/org/apache/cocoon/components/language/markup/sitemap/java
Tag: xml-cocoon2 sitemap.xsl
Log:
If the pattern has embedded "**/" then the code generated is bad.
Revision Changes Path
No revision
No revision
1.1.2.68 +2 -2
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.67
retrieving revision 1.1.2.68
diff -u -r1.1.2.67 -r1.1.2.68
--- sitemap.xsl 2000/12/05 22:03:29 1.1.2.67
+++ sitemap.xsl 2000/12/07 13:53:35 1.1.2.68
@@ -77,7 +77,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Giacomo
Pati</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Berin
Loiritsch</a>
- * @version CVS $Revision: 1.1.2.67 $ $Date: 2000/12/05 22:03:29 $
+ * @version CVS $Revision: 1.1.2.68 $ $Date: 2000/12/07 13:53:35 $
*/
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"/>";
@@ -116,7 +116,7 @@
<xsl:with-param name="suffix"><xsl:value-of
select="$type"/>_<xsl:value-of select="generate-id(.)"/></xsl:with-param>
</xsl:call-template>
</xsl:variable>
- /** The generated matcher for a pattern of "<xsl:value-of
select="@pattern"/>" */
+ // The generated matcher for a pattern of "<xsl:value-of
select="@pattern"/>"
<xsl:value-of
select="java:getClassSource($factory-loader,string($src),string($matcher-name),string(@pattern),$config)"/>
</xsl:for-each>
</xsl:if>