vgritsenko    01/07/24 18:31:22

  Modified:    src/org/apache/cocoon/components/language/markup/sitemap/java
                        sitemap.xsl
  Log:
  Disable previously enabled ability to specify <map:generator> in <map:handle-errors>
  
  Revision  Changes    Path
  1.32      +2 -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.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- sitemap.xsl       2001/07/24 03:00:42     1.31
  +++ sitemap.xsl       2001/07/25 01:31:22     1.32
  @@ -124,7 +124,7 @@
        *
        * @author &lt;a href="mailto:[EMAIL PROTECTED]"&gt;Giacomo Pati&lt;/a&gt;
        * @author &lt;a href="mailto:[EMAIL PROTECTED]"&gt;Berin Loritsch&lt;/a&gt;
  -     * @version CVS $Id: sitemap.xsl,v 1.31 2001/07/24 03:00:42 vgritsenko Exp $
  +     * @version CVS $Id: sitemap.xsl,v 1.32 2001/07/25 01:31:22 vgritsenko 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"/>";
  @@ -556,9 +556,7 @@
                 List listOfMaps = (List)(new ArrayList());
                 Map map;
                 Parameters param;
  -              <xsl:if test="not(./map:generate)">
  -                eventPipeline.setGenerator ("!error-notifier!", e.getMessage(), 
emptyParam, e);
  -              </xsl:if>
  +              eventPipeline.setGenerator ("!error-notifier!", e.getMessage(), 
emptyParam, e);
                 <xsl:apply-templates select="./*"/>
               } catch (Exception ex) {
                 getLogger().error("error notifier barfs", ex);
  
  
  

----------------------------------------------------------------------
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