diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2004-11-01 14:58:20 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2004-11-01 14:58:20 +0000 |
commit | 980a02c4f73d777b283a3277bd7b2b720ca71f90 (patch) | |
tree | f525ab1c4bc6179bcbaf4bc067e8228b619fc839 | |
parent | 82ffb7507395806b025d6414f1b31f60affb614f (diff) | |
download | libxslt-980a02c4f73d777b283a3277bd7b2b720ca71f90.tar.gz libxslt-980a02c4f73d777b283a3277bd7b2b720ca71f90.tar.bz2 libxslt-980a02c4f73d777b283a3277bd7b2b720ca71f90.zip |
added a test case provided by Markus Bertheau breaking on libxml2-2.6.15
* tests/general/bug-155.*, tests/general/Makefile.am,
tests/docs/bug-155*, tests/docs/Makefile.am: added a test case
provided by Markus Bertheau breaking on libxml2-2.6.15
Daniel
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | libxslt/xsltwin32config.h | 2 | ||||
-rw-r--r-- | tests/docs/Makefile.am | 1 | ||||
-rw-r--r-- | tests/docs/bug-155.xml | 5 | ||||
-rw-r--r-- | tests/general/Makefile.am | 1 | ||||
-rw-r--r-- | tests/general/bug-155.out | 3 | ||||
-rw-r--r-- | tests/general/bug-155.xsl | 10 |
7 files changed, 27 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Mon Nov 1 15:57:24 CET 2004 Daniel Veillard <daniel@veillard.com> + + * tests/general/bug-155.*, tests/general/Makefile.am, + tests/docs/bug-155*, tests/docs/Makefile.am: added a test case + provided by Markus Bertheau breaking on libxml2-2.6.15 + Fri Oct 29 17:03:26 CEST 2004 Daniel Veillard <daniel@veillard.com> * configure.in NEWS doc/*: preparing release of libxslt-1.1.12 diff --git a/libxslt/xsltwin32config.h b/libxslt/xsltwin32config.h index d1df37bd..ee4cfb46 100644 --- a/libxslt/xsltwin32config.h +++ b/libxslt/xsltwin32config.h @@ -44,7 +44,7 @@ extern "C" { * * extra version information, used to show a CVS compilation */ -#define LIBXML_VERSION_EXTRA "-CVS963" +#define LIBXML_VERSION_EXTRA "-CVS964" /** * WITH_XSLT_DEBUG: diff --git a/tests/docs/Makefile.am b/tests/docs/Makefile.am index a50a358e..afb15d51 100644 --- a/tests/docs/Makefile.am +++ b/tests/docs/Makefile.am @@ -154,6 +154,7 @@ EXTRA_DIST = \ bug-152.xml \ bug-153.xml bug-153.doc \ bug-154.xml \ + bug-155.xml \ character.xml \ array.xml \ items.xml diff --git a/tests/docs/bug-155.xml b/tests/docs/bug-155.xml new file mode 100644 index 00000000..a583694e --- /dev/null +++ b/tests/docs/bug-155.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<object class="Literaturhinweis" id="3964"> + <Ältestenrat>18-99</Ältestenrat> +</object> + diff --git a/tests/general/Makefile.am b/tests/general/Makefile.am index e02b4e0a..4da74936 100644 --- a/tests/general/Makefile.am +++ b/tests/general/Makefile.am @@ -162,6 +162,7 @@ EXTRA_DIST = \ bug-152.out bug-152.xsl \ bug-153.out bug-153.xsl \ bug-154.out bug-154.xsl \ + bug-155.out bug-155.xsl \ character.out character.xsl \ character2.out character2.xsl \ itemschoose.out itemschoose.xsl \ diff --git a/tests/general/bug-155.out b/tests/general/bug-155.out new file mode 100644 index 00000000..79a051a2 --- /dev/null +++ b/tests/general/bug-155.out @@ -0,0 +1,3 @@ +<h3>Literaturhinweis</h3><ul> + <li><strong>Ältestenrat:</strong>18-99</li> +</ul> diff --git a/tests/general/bug-155.xsl b/tests/general/bug-155.xsl new file mode 100644 index 00000000..3d17afc7 --- /dev/null +++ b/tests/general/bug-155.xsl @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> + <xsl:output encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/> + <xsl:template match="object[@class='Literaturhinweis']"><h3>Literaturhinweis</h3> +<ul> + <li><strong>Ältestenrat:</strong><xsl:value-of select="Ältestenrat"/></li> +</ul> +</xsl:template> +</xsl:stylesheet> + |