vgritsenko    01/07/24 18:29:48

  Modified:    src/org/apache/cocoon/components/language/markup/sitemap/java
                        Tag: cocoon_20_branch sitemap.xsl
  Log:
  Disable previously enabled ability to specify <map:generator> in <map:handle-errors>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.11.2.24 +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.11.2.23
  retrieving revision 1.11.2.24
  diff -u -r1.11.2.23 -r1.11.2.24
  --- sitemap.xsl       2001/07/24 03:03:21     1.11.2.23
  +++ sitemap.xsl       2001/07/25 01:29:48     1.11.2.24
  @@ -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.11.2.23 2001/07/24 03:03:21 vgritsenko Exp 
$
  +     * @version CVS $Id: sitemap.xsl,v 1.11.2.24 2001/07/25 01:29:48 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