added a test case provided by Markus Bertheau breaking on libxml2-2.6.15
authorDaniel Veillard <veillard@src.gnome.org>
Mon, 1 Nov 2004 14:58:20 +0000 (14:58 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Mon, 1 Nov 2004 14:58:20 +0000 (14:58 +0000)
* 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

ChangeLog
libxslt/xsltwin32config.h
tests/docs/Makefile.am
tests/docs/bug-155.xml [new file with mode: 0644]
tests/general/Makefile.am
tests/general/bug-155.out [new file with mode: 0644]
tests/general/bug-155.xsl [new file with mode: 0644]

index f0bca6d..ece0fbb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index d1df37b..ee4cfb4 100644 (file)
@@ -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:
index a50a358..afb15d5 100644 (file)
@@ -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 (file)
index 0000000..a583694
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<object class="Literaturhinweis" id="3964">
+        <Ältestenrat>18-99</Ältestenrat>
+</object>
+
index e02b4e0..4da7493 100644 (file)
@@ -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 (file)
index 0000000..79a051a
--- /dev/null
@@ -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 (file)
index 0000000..3d17afc
--- /dev/null
@@ -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>
+