]> granicus.if.org Git - docbook-dsssl/commitdiff
Added warning when $glossary.collection is not blank, but
authorBob Stayton <bobs@sagehill.net>
Fri, 28 Feb 2003 16:47:30 +0000 (16:47 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 28 Feb 2003 16:47:30 +0000 (16:47 +0000)
it cannot open the specified file.

xsl/fo/glossary.xsl
xsl/html/glossary.xsl

index d302efadaded7bbe42a15334c0934fcf982fc886..548f454644317ab687791afd462d802b4ee9c6ae 100644 (file)
     </xsl:message>
   </xsl:if>
 
+  <xsl:if test="not($collection) and $glossary.collection != ''">
+    <xsl:message>
+      <xsl:text>Warning: processing automatic glossary but unable to </xsl:text>
+      <xsl:text>open glossary.collection file '</xsl:text>
+      <xsl:value-of select="$glossary.collection"/>
+      <xsl:text>'</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
   <xsl:call-template name="make-auto-glossary"/>
 </xsl:template>
 
index 3e624fdf86dab16fb04521cc991e0f2054097724..8879af2b3db02adb73322015bc55fc84038508e4 100644 (file)
@@ -285,6 +285,15 @@ GlossEntry ::=
     </xsl:message>
   </xsl:if>
 
+  <xsl:if test="not($collection) and $glossary.collection != ''">
+    <xsl:message>
+      <xsl:text>Warning: processing automatic glossary but unable to </xsl:text>
+      <xsl:text>open glossary.collection file '</xsl:text>
+      <xsl:value-of select="$glossary.collection"/>
+      <xsl:text>'</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
   <div class="{name(.)}">
     <xsl:if test="$generate.id.attributes != 0">
       <xsl:attribute name="id">