cziegeler    01/06/28 03:50:41

  Modified:    src/org/apache/cocoon/components/language/markup/sitemap/java
                        Tag: cocoon_20_branch sitemap.xsl
  Log:
  Match pattern is also logged
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.11.2.15 +3 -3      
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.14
  retrieving revision 1.11.2.15
  diff -u -r1.11.2.14 -r1.11.2.15
  --- sitemap.xsl       2001/06/28 10:30:44     1.11.2.14
  +++ sitemap.xsl       2001/06/28 10:50:32     1.11.2.15
  @@ -128,7 +128,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.14 2001/06/28 10:30:44 cziegeler Exp $
  +     * @version CVS $Id: sitemap.xsl,v 1.11.2.15 2001/06/28 10:50:32 cziegeler 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"/>";
  @@ -623,7 +623,7 @@
       <!-- this is the actual code produced -->
       // handling "<xsl:value-of select="@pattern"/>"
           if ((map = <xsl:value-of select="$matcher-name"/>) != null) {
  -          getLogger().debug("Matched <xsl:value-of 
select="$matcher-type"/><xsl:text> </xsl:text><xsl:value-of 
select="$matcher-name2"/>");
  +          getLogger().debug("Matched <xsl:value-of 
select="$matcher-type"/><xsl:text> </xsl:text><xsl:value-of 
select="$matcher-name2"/><xsl:text> </xsl:text>pattern:<xsl:value-of 
select="@pattern"/>");
             listOfMaps.add (map);
             <xsl:apply-templates/>
             listOfMaps.remove (listOfMaps.size()-1);
  @@ -722,7 +722,7 @@
           String cocoon_action = environment.getAction();
   
           if ((map = <xsl:value-of select="$matcher-name"/>) != null) {
  -          getLogger().debug("Matched <xsl:value-of select="$matcher-type"/> 
<xsl:value-of select="$matcher-name2"/>");
  +          getLogger().debug("Matched <xsl:value-of select="$matcher-type"/> 
<xsl:value-of select="$matcher-name2"/><xsl:text> </xsl:text>pattern:<xsl:value-of 
select="@pattern"/>");
             listOfMaps.add (map);
             <xsl:apply-templates/>
             listOfMaps.remove (listOfMaps.size()-1);
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to