forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject svn commit: rev 46175 - forrest/trunk/src/core/context/resources/stylesheets
Date Thu, 16 Sep 2004 12:15:18 GMT
Author: nicolaken
Date: Thu Sep 16 05:15:17 2004
New Revision: 46175

Modified:
   forrest/trunk/src/core/context/resources/stylesheets/declare-broken-site-links.xsl
Log:
Temporary fix by disabling error: prepending. The  	 FOR-284 bug is still open but does not
block 0.6 release.

Modified: forrest/trunk/src/core/context/resources/stylesheets/declare-broken-site-links.xsl
==============================================================================
--- forrest/trunk/src/core/context/resources/stylesheets/declare-broken-site-links.xsl	(original)
+++ forrest/trunk/src/core/context/resources/stylesheets/declare-broken-site-links.xsl	Thu
Sep 16 05:15:17 2004
@@ -16,12 +16,19 @@
 -->
 
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
+        <!-- Change the site: and ext: links in the output so that Forrest
+             understands that they are broken -->
+             
+<!-- nicolaken: commenting out because it breaks the linkmap stuff.
+                Just including even the same link at this point makes
+                Cocoon use that link as a relative link.
+                For example, if in xdocs/samples I have ext:dtd-docs, the below
+                template with concat('', .) will make Cocoon search for
+                samples/ext:dtd-docs, which of course does not exist.
+                
   <xsl:template match="@*">
     <xsl:attribute name="{name(.)}">
       <xsl:choose>
-        <!-- Change the site: and ext: links in the output so that Forrest
-             understands that they are broken -->
         <xsl:when test="contains(., 'site:') or contains(., 'ext:')">
           <xsl:value-of select="concat('error:', .)"/>
         </xsl:when>
@@ -31,7 +38,7 @@
       </xsl:choose>
     </xsl:attribute>
   </xsl:template>
-
+-->
 	<!-- Identity transformation template -->			
 	<xsl:template match="/ | * | comment() | processing-instruction() | text()"> 
 		<xsl:copy> 

Mime
View raw message