summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDafydd Harries <dafydd.harries@collabora.co.uk>2008-04-10 18:55:38 +0000
committerMarc-André Lureau <marcandre.lureau@gmail.com>2009-02-13 00:01:42 +0200
commit6d7a6c68c2190fc56804e0fce94f4e92627e42c6 (patch)
treef31d57cc344d2895da705c8f2eb933708c308ec4 /tools
parent5f4d9e124ced4b338de49b174c0608cd491f2872 (diff)
doc-generator.xsl: stop on unhandled elements
Diffstat (limited to 'tools')
-rw-r--r--tools/doc-generator.xsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/doc-generator.xsl b/tools/doc-generator.xsl
index 1ecc75a..11c2077 100644
--- a/tools/doc-generator.xsl
+++ b/tools/doc-generator.xsl
@@ -863,6 +863,18 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
</html>
</xsl:template>
+ <xsl:template match="node">
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="*">
+ <xsl:message terminate="yes">
+ <xsl:text>Unrecognised element: {</xsl:text>
+ <xsl:value-of select="namespace-uri(.)" />
+ <xsl:text>}</xsl:text>
+ <xsl:value-of select="local-name(.)" />
+ </xsl:message>
+ </xsl:template>
</xsl:stylesheet>
<!-- vim:set sw=2 sts=2 et: -->