added test for bug #168196 fixed in libxml2 Daniel
authorDaniel Veillard <veillard@src.gnome.org>
Tue, 29 Mar 2005 20:35:38 +0000 (20:35 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Tue, 29 Mar 2005 20:35:38 +0000 (20:35 +0000)
* tests/general/bug-159.*, tests/general/Makefile.am,
  tests/docs/bug-159.*, tests/docs/Makefile.am: added test for
  bug #168196 fixed in libxml2
Daniel

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

index 89fe109..5f4bbc8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Mar 29 22:35:14 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * tests/general/bug-159.*, tests/general/Makefile.am,
+         tests/docs/bug-159.*, tests/docs/Makefile.am: added test for
+         bug #168196 fixed in libxml2
+
 Tue Mar 29 21:06:11 CEST 2005 Daniel Veillard <daniel@veillard.com>
 
        * libxslt/transform.c: working around Mark Vakoc' reported bug related
index b0a1b08..081f515 100644 (file)
@@ -158,6 +158,7 @@ EXTRA_DIST =        \
        bug-156.xml \
        bug-157.xml \
        bug-158.xml bug-158.doc \
+       bug-159.xml \
        character.xml \
        array.xml \
        items.xml
diff --git a/tests/docs/bug-159.xml b/tests/docs/bug-159.xml
new file mode 100644 (file)
index 0000000..69d62f2
--- /dev/null
@@ -0,0 +1 @@
+<doc/>
index 785e511..7891206 100644 (file)
@@ -167,6 +167,7 @@ EXTRA_DIST = \
     bug-156.imp1.imp bug-156.imp2.imp \
     bug-157.err bug-157.out bug-157.xsl \
     bug-158.out bug-158.xsl \
+    bug-159.out bug-159.xsl \
     character.out character.xsl \
     character2.out character2.xsl \
     itemschoose.out itemschoose.xsl \
diff --git a/tests/general/bug-159.out b/tests/general/bug-159.out
new file mode 100644 (file)
index 0000000..7187f99
--- /dev/null
@@ -0,0 +1,8 @@
+<html>
+<head><meta http-equiv="Content-Type" content="text/html; charset=ascii"></head>
+<body>
+<a href="#%D1%91">&#1105;</a><p>a lot of text</p>
+<a name="%D1%91"></a><h1>&#1105;</h1>
+<p>a lot of text</p>
+</body>
+</html>
diff --git a/tests/general/bug-159.xsl b/tests/general/bug-159.xsl
new file mode 100644 (file)
index 0000000..476d1e2
--- /dev/null
@@ -0,0 +1,17 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<xsl:output method="html" encoding="ascii"/>
+        
+<xsl:template match="/">
+  <html>
+    <head/>
+    <body>
+      <a href="#&#x451;">&#x451;</a>
+      <p>a lot of text</p>
+
+      <a name="&#x451;"/><h1>&#x451;</h1>
+      <p>a lot of text</p>
+    </body>
+  </html>
+</xsl:template>
+
+</xsl:stylesheet>