summaryrefslogtreecommitdiff
path: root/tests/general/bug-12-.xsl
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-04-25 15:05:54 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-04-25 15:05:54 +0000
commited555ce08beac8bde3c6da2161f10597611f19ed (patch)
tree775eec1fed1f0405357ff21059fc374047ad4805 /tests/general/bug-12-.xsl
parent921bd952ae178c6dde810ba14b3da9dba2e8fa44 (diff)
downloadlibxslt-ed555ce08beac8bde3c6da2161f10597611f19ed.tar.gz
libxslt-ed555ce08beac8bde3c6da2161f10597611f19ed.tar.bz2
libxslt-ed555ce08beac8bde3c6da2161f10597611f19ed.zip
Cleanup: - transform.c: fixed text and cdata handling in xsl:copy - xslt.c
Cleanup: - transform.c: fixed text and cdata handling in xsl:copy - xslt.c : avoid crashing on invalid xslt input - test/general/bug-*.* test/docs/bug-*.xml : added a number of bugs submitted to the regression tests Daniel
Diffstat (limited to 'tests/general/bug-12-.xsl')
-rw-r--r--tests/general/bug-12-.xsl16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/general/bug-12-.xsl b/tests/general/bug-12-.xsl
new file mode 100644
index 00000000..e6d199fa
--- /dev/null
+++ b/tests/general/bug-12-.xsl
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding="ISO-8859-1"?>
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:output method="xml"
+ version="1.0"
+ encoding="ISO-8859-1"
+ indent="yes" />
+
+<xsl:template match="/">
+ <namespace>
+ <xsl:value-of select="//namespace::*"/>
+ </namespace>
+</xsl:template>
+
+</xsl:stylesheet>