You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by sy...@apache.org on 2001/12/06 14:53:24 UTC

cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java sitemap.xsl

sylvain     01/12/06 05:53:24

  Modified:    src/org/apache/cocoon/components/language/markup/sitemap/java
                        Tag: cocoon_20_branch sitemap.xsl
  Log:
  Bug in sitemap.xsl
  Submitted by: Luke.Studley@cerillion.com
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.11.2.40 +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.39
  retrieving revision 1.11.2.40
  diff -u -r1.11.2.39 -r1.11.2.40
  --- sitemap.xsl	2001/11/26 14:47:16	1.11.2.39
  +++ sitemap.xsl	2001/12/06 13:53:23	1.11.2.40
  @@ -126,7 +126,7 @@
        *
        * @author <a href="mailto:giacomo@apache.org">Giacomo Pati</a>
        * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  -     * @version CVS $Id: sitemap.xsl,v 1.11.2.39 2001/11/26 14:47:16 haul Exp $
  +     * @version CVS $Id: sitemap.xsl,v 1.11.2.40 2001/12/06 13:53:23 sylvain 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"/>";
  @@ -427,7 +427,7 @@
   
           <xsl:if  test="not(XSLTFactoryLoader:isFactory($factory-loader, string($src)))">
             <xsl:choose>
  -            <xsl:when test="XSLTFactoryLoader:hasSubstitutions(@pattern)">
  +            <xsl:when test="XSLTFactoryLoader:hasSubstitutions($factory-loader, @pattern)">
                 // Pattern "<xsl:value-of select="@pattern"/>" has substitutions and is not prepared.
               </xsl:when>
               <xsl:otherwise>
  @@ -828,7 +828,7 @@
             <xsl:value-of select="translate($matcher-type, '- ', '__')"/>Match(<xsl:value-of select="$matcher-name2"/>_expr, objectModel, <xsl:value-of select="$component-param"/>)
           </xsl:when>
           <xsl:otherwise>
  -          matches("<xsl:value-of select="$matcher-type"/>", <xsl:value-of select="$matcher-name2"/>_expr, "<xsl:value-of select="XSLTFactoryLoader:escape($pattern-value)"/>", listOfMaps, <xsl:value-of select="$component-param"/>, objectModel)
  +          matches("<xsl:value-of select="$matcher-type"/>", <xsl:value-of select="$matcher-name2"/>_expr, "<xsl:value-of select="XSLTFactoryLoader:escape($factory-loader, $pattern-value)"/>", listOfMaps, <xsl:value-of select="$component-param"/>, objectModel)
           </xsl:otherwise>
         </xsl:choose>
       </xsl:variable>
  @@ -918,7 +918,7 @@
           </xsl:when>
   
           <xsl:otherwise>
  -          <xsl:text>matches("</xsl:text><xsl:value-of select="$matcher-type"/>", <xsl:value-of select="$matcher-name2"/>_expr, "<xsl:value-of select="XSLTFactoryLoader:escape($pattern-value)"/>", listOfMaps, <xsl:value-of select="$component-param"/><xsl:text>, objectModel)</xsl:text>
  +          <xsl:text>matches("</xsl:text><xsl:value-of select="$matcher-type"/>", <xsl:value-of select="$matcher-name2"/>_expr, "<xsl:value-of select="XSLTFactoryLoader:escape($factory-loader, $pattern-value)"/>", listOfMaps, <xsl:value-of select="$component-param"/><xsl:text>, objectModel)</xsl:text>
           </xsl:otherwise>
         </xsl:choose>
       </xsl:variable>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org