You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2003/06/21 10:35:21 UTC

cvs commit: xml-forrest/src/resources/stylesheets filterlinks.xsl

jefft       2003/06/21 01:35:21

  Modified:    src/resources/stylesheets filterlinks.xsl
  Log:
  Avoid Xalan's charming way of reporting an <xsl:message>, which is to write a
  2-page stacktrace.
  
  Revision  Changes    Path
  1.9       +4 -4      xml-forrest/src/resources/stylesheets/filterlinks.xsl
  
  Index: filterlinks.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/stylesheets/filterlinks.xsl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- filterlinks.xsl	18 May 2003 10:53:34 -0000	1.8
  +++ filterlinks.xsl	21 Jun 2003 08:35:21 -0000	1.9
  @@ -21,17 +21,17 @@
   
       <xsl:choose>
         <xsl:when test="contains(., 'apidocs')">
  -        <xsl:message>Ignoring javadoc link: <xsl:value-of select="."/></xsl:message>
  +      <!--<xsl:message>Ignoring javadoc link: <xsl:value-of select="."/></xsl:message>-->
         </xsl:when>
         <xsl:when test="contains(., 'api/')">
  -        <xsl:message>Ignoring javadoc link: <xsl:value-of select="."/></xsl:message>
  +        <!--<xsl:message>Ignoring javadoc link: <xsl:value-of select="."/></xsl:message>-->
         </xsl:when>
         <xsl:when test="not(contains(., ':')) and substring(., string-length(.)) = '/'">
  -        <xsl:message>Ignoring directory link: <xsl:value-of select="."/></xsl:message>
  +        <!--<xsl:message>Ignoring directory link: <xsl:value-of select="."/></xsl:message>-->
           <!-- Don't try to render links to local directories (that end with '/'). -->
         </xsl:when>
         <xsl:when test="starts-with(., $ctxbasedir)">
  -        <xsl:message>Ignoring absolute PDF link: <xsl:value-of select="."/></xsl:message>
  +        <!--<xsl:message>Ignoring absolute PDF link: <xsl:value-of select="."/></xsl:message>-->
           <!-- Ignore absolute image paths used in PDFs from being rendered. This
           will go away when the FOP-Cocoon link improves -->
         </xsl:when>