vmassol 2003/01/28 08:08:43
Modified: documentation/docs/skins/jakarta.apache.org/stylesheets
common.xsl document2html.xsl
Log:
Stop processing on error (bad ids).
Revision Changes Path
1.5 +2 -2
jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/common.xsl
Index: common.xsl
===================================================================
RCS file:
/home/cvs/jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/common.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- common.xsl 28 Jan 2003 15:22:54 -0000 1.4
+++ common.xsl 28 Jan 2003 16:08:42 -0000 1.5
@@ -51,7 +51,7 @@
<xsl:param name="id"/>
<!-- Issue a warning if the id is invalid -->
<xsl:if test="not($sitemap/resource[@id=$id])">
- <xsl:message>
+ <xsl:message terminate="yes">
<xsl:text>Id [</xsl:text>
<xsl:text>] has no reference in sitemap.xml</xsl:text>
(<xsl:value-of select="$sitemap"/>)
1.25 +5 -3
jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl
Index: document2html.xsl
===================================================================
RCS file:
/home/cvs/jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- document2html.xsl 28 Jan 2003 15:22:54 -0000 1.24
+++ document2html.xsl 28 Jan 2003 16:08:43 -0000 1.25
@@ -7,7 +7,9 @@
<!-- TODOS:
- finish removing all style references and put them in the CSS. Only use
- CSS features that are standard across browsers (it is possible?). VMA
+ CSS features that are standard across browsers (it is possible?).
+ - modify <figure> to support site: and ext: notations
+ - add warnings for external <link> not using ext:
-->
<xsl:stylesheet version="1.0"
@@ -702,7 +704,7 @@
<xsl:value-of select="@href"/>
</xsl:when>
<xsl:otherwise>
- <xsl:message>
+ <xsl:message terminate="yes">
<xsl:text>Bad site id: [</xsl:text>
<xsl:value-of select="@href"/>
<xsl:text>]</xsl:text>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>