]> granicus.if.org Git - docbook-dsssl/commitdiff
Updated message about unmatched element.
authorMauritz Jeanson <mj@johanneberg.com>
Mon, 3 Dec 2007 17:43:24 +0000 (17:43 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Mon, 3 Dec 2007 17:43:24 +0000 (17:43 +0000)
xsl/fo/docbook.xsl

index 5edfb5718b31859cc16fcb69eeffc26607d99e3d..42b6b7cae255d69957f79a0ae0e56f8d6ddbdfcc 100644 (file)
 
 <xsl:template match="*">
   <xsl:message>
-    <xsl:value-of select="name(.)"/>
-    <xsl:text> encountered</xsl:text>
+    <xsl:text>Element </xsl:text>
+    <xsl:value-of select="local-name(.)"/>
+    <xsl:text> in namespace '</xsl:text>
+    <xsl:value-of select="namespace-uri(.)"/>
+    <xsl:text>' encountered</xsl:text>
     <xsl:if test="parent::*">
       <xsl:text> in </xsl:text>
       <xsl:value-of select="name(parent::*)"/>
     </xsl:if>
     <xsl:text>, but no template matches.</xsl:text>
   </xsl:message>
+  
   <fo:block color="red">
     <xsl:text>&lt;</xsl:text>
     <xsl:value-of select="name(.)"/>