summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-03-22 11:36:51 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-03-22 11:36:51 +0000
commitae09cdfb15f2eb8980a7756e5aa38d0c6b3e2299 (patch)
tree5b09ab50c133f568800fc83fdeb616a222251cfb
parentf315942989ec535d64153e30d12931c2d8cbd89e (diff)
downloadlibxslt-ae09cdfb15f2eb8980a7756e5aa38d0c6b3e2299.tar.gz
libxslt-ae09cdfb15f2eb8980a7756e5aa38d0c6b3e2299.tar.bz2
libxslt-ae09cdfb15f2eb8980a7756e5aa38d0c6b3e2299.zip
added an example in the regression tests for the invalid bug #108716
* tests/docs/Makefile.am tests/docs/bug-109.xml tests/general/Makefile.am tests/general/bug-109*: added an example in the regression tests for the invalid bug #108716 Daniel
-rw-r--r--ChangeLog6
-rw-r--r--tests/docs/Makefile.am1
-rw-r--r--tests/docs/bug-109.xml4
-rw-r--r--tests/general/Makefile.am1
-rw-r--r--tests/general/bug-109.out3
-rw-r--r--tests/general/bug-109.xsl7
6 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 355dd7af..c6d75ed8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Mar 22 12:35:47 CET 2003 Daniel Veillard <daniel@veillard.com>
+
+ * tests/docs/Makefile.am tests/docs/bug-109.xml
+ tests/general/Makefile.am tests/general/bug-109*: added an
+ example in the regression tests for the invalid bug #108716
+
Sat Mar 22 12:01:24 CET 2003 Daniel Veillard <daniel@veillard.com>
* libxslt/variables.c: fixed bug #108633 reported by
diff --git a/tests/docs/Makefile.am b/tests/docs/Makefile.am
index 307c25eb..08f9a80e 100644
--- a/tests/docs/Makefile.am
+++ b/tests/docs/Makefile.am
@@ -108,6 +108,7 @@ EXTRA_DIST = \
bug-106.xml \
bug-107.xml \
bug-108.xml \
+ bug-109.xml \
character.xml \
array.xml \
items.xml
diff --git a/tests/docs/bug-109.xml b/tests/docs/bug-109.xml
new file mode 100644
index 00000000..920dd995
--- /dev/null
+++ b/tests/docs/bug-109.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<doc>
+&lt;b&gt;This is HTML&lt;/b&gt;
+</doc>
diff --git a/tests/general/Makefile.am b/tests/general/Makefile.am
index ccd0538f..8bcd089d 100644
--- a/tests/general/Makefile.am
+++ b/tests/general/Makefile.am
@@ -113,6 +113,7 @@ EXTRA_DIST = \
bug-106.out bug-106.xsl \
bug-107.out bug-107.xsl \
bug-108.out bug-108.xsl \
+ bug-109.out bug-109.xsl \
character.out character.xsl \
character2.out character2.xsl \
itemschoose.out itemschoose.xsl \
diff --git a/tests/general/bug-109.out b/tests/general/bug-109.out
new file mode 100644
index 00000000..e4bad704
--- /dev/null
+++ b/tests/general/bug-109.out
@@ -0,0 +1,3 @@
+
+<b>This is HTML</b>
+
diff --git a/tests/general/bug-109.xsl b/tests/general/bug-109.xsl
new file mode 100644
index 00000000..318ec3d2
--- /dev/null
+++ b/tests/general/bug-109.xsl
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:output method="html" indent="yes" encoding="iso-8859-1"/>
+ <xsl:template match="/*">
+ <xsl:value-of select="text()" disable-output-escaping="yes"/>
+ </xsl:template>
+</xsl:stylesheet>