mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-09-14 05:09:26 +03:00
* libxslt/xslt.c libxslt/extensions.c libxslt/extensions.h: fix the processing of top level elements of stylesheets which are not in the XSLT namespace and are not an extension either should fix #529223 * tests/docs/Makefile.am tests/docs/bug-167.xml tests/general/Makefile.am tests/general/bug-167.*: add the test to the regression suite Daniel svn path=/trunk/; revision=1472
21 lines
397 B
XML
21 lines
397 B
XML
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
version="1.0">
|
|
|
|
<xsl:output method="text"/>
|
|
|
|
<xsl:template match="/">
|
|
<xsl:text>Hello </xsl:text>
|
|
<xsl:if test="false()">
|
|
<xsl:text>world</xsl:text>
|
|
</xsl:if>
|
|
</xsl:template>
|
|
|
|
<x:ignore xmlns:x="x">
|
|
<xsl:template match="/">
|
|
<!--this better not be here!-->
|
|
</xsl:template>
|
|
</x:ignore>
|
|
|
|
</xsl:stylesheet>
|
|
|