diff options
author | tpf <tpf@openoffice.org> | 2002-12-09 07:58:17 +0000 |
---|---|---|
committer | tpf <tpf@openoffice.org> | 2002-12-09 07:58:17 +0000 |
commit | d4090062ad20d97f59cabfd4022258c88e53a028 (patch) | |
tree | 7be777e17f7ef13d1969210da5900490eebeb1c4 /officecfg/util/sanity.xsl | |
parent | a62cae55485437cd648603058615087025836259 (diff) |
#105581# script will terminate now if info/desc elements are missing
Diffstat (limited to 'officecfg/util/sanity.xsl')
-rw-r--r-- | officecfg/util/sanity.xsl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/officecfg/util/sanity.xsl b/officecfg/util/sanity.xsl index 9ae56a8ee380..13aa20a9d80d 100644 --- a/officecfg/util/sanity.xsl +++ b/officecfg/util/sanity.xsl @@ -20,17 +20,17 @@ <xsl:if test="not(info/desc)"> <!-- print TPF's path to current node --> - <xsl:message terminate="no"> + <xsl:message terminate="yes"> <!-- print linefeed --> <xsl:text> </xsl:text> - <xsl:text>WARNING: No info/desc element specified</xsl:text> + <xsl:text>ERROR: No info/desc element specified</xsl:text> <!-- print linefeed --> <xsl:text> </xsl:text> - <xsl:text> - path: </xsl:text> + <xsl:text> - path: </xsl:text> <xsl:for-each select="ancestor-or-self::*"><xsl:text>/</xsl:text> <xsl:value-of select="local-name(.)"/> <xsl:choose> @@ -42,7 +42,7 @@ <!-- print linefeed --> <xsl:text> </xsl:text> - <xsl:text> - author: </xsl:text> + <xsl:text> - author: </xsl:text> <xsl:for-each select="ancestor-or-self::*"> <!-- print element name --> <xsl:if test="info/author"> |