diff options
author | William M. Brack <wbrack@src.gnome.org> | 2003-09-06 17:00:16 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2003-09-06 17:00:16 +0000 |
commit | ce8c487ef768f6494a12e42ef32e2eb802bcf323 (patch) | |
tree | 54a88ce716253eaf8b8fa568d308efd7cacf3c06 /tests/general/bug-130-imp3.imp | |
parent | e61329fd8faa0dd41a34cdd16a6407f0885ecacf (diff) | |
download | libxslt-ce8c487ef768f6494a12e42ef32e2eb802bcf323.tar.gz libxslt-ce8c487ef768f6494a12e42ef32e2eb802bcf323.tar.bz2 libxslt-ce8c487ef768f6494a12e42ef32e2eb802bcf323.zip |
fixed bug 119946, caused by incorrect creation of "extra" variables when
* pattern.c pattern.h imports.c: fixed bug 119946, caused by
incorrect creation of "extra" variables when compiling
templates on imported stylesheets.
* tests/docs/Makefile.am tests/docs/bug-130.xml tests/docs/bug-130.doc
tests/general/Makefile.am test/docs/bug-130*: added tests
to the regression suite for this bug.
Diffstat (limited to 'tests/general/bug-130-imp3.imp')
-rw-r--r-- | tests/general/bug-130-imp3.imp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/general/bug-130-imp3.imp b/tests/general/bug-130-imp3.imp new file mode 100644 index 00000000..c12538cd --- /dev/null +++ b/tests/general/bug-130-imp3.imp @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + +<xsl:template match="document"> + <xsl:text>document in module #3;</xsl:text> + <xsl:apply-templates select="article"/> +</xsl:template> + + +<xsl:template match="article[position()=1]"> + <xsl:text>article in module #3;</xsl:text> + <xsl:apply-templates select="title"/> +</xsl:template> + +</xsl:stylesheet> |