summaryrefslogtreecommitdiff
path: root/tests/general
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-08-12 10:18:54 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-08-12 10:18:54 +0000
commitd7a1a610613aa1171bc937bc293015978f1df016 (patch)
treea759298ee67967ffda8bb54d69f41b8e57e03198 /tests/general
parentd9fcae49049b837390a67284b48301033a27bd02 (diff)
downloadlibxslt-d7a1a610613aa1171bc937bc293015978f1df016.tar.gz
libxslt-d7a1a610613aa1171bc937bc293015978f1df016.tar.bz2
libxslt-d7a1a610613aa1171bc937bc293015978f1df016.zip
check fix for #310692 Daniel
* tests/general/bug-163.*, tests/general/Makefile.am, tests/docs/bug-163.*, tests/docs/Makefile.am: check fix for #310692 Daniel
Diffstat (limited to 'tests/general')
-rw-r--r--tests/general/Makefile.am1
-rw-r--r--tests/general/bug-163.out2
-rw-r--r--tests/general/bug-163.xsl6
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/general/Makefile.am b/tests/general/Makefile.am
index 0f5a89ba..55b3e394 100644
--- a/tests/general/Makefile.am
+++ b/tests/general/Makefile.am
@@ -170,6 +170,7 @@ EXTRA_DIST = \
bug-159.out bug-159.xsl \
bug-160.out bug-160.xsl \
bug-161.out bug-161.xsl \
+ bug-163.out bug-163.xsl \
character.out character.xsl \
character2.out character2.xsl \
itemschoose.out itemschoose.xsl \
diff --git a/tests/general/bug-163.out b/tests/general/bug-163.out
new file mode 100644
index 00000000..ef970f53
--- /dev/null
+++ b/tests/general/bug-163.out
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+findme
diff --git a/tests/general/bug-163.xsl b/tests/general/bug-163.xsl
new file mode 100644
index 00000000..9e41e49b
--- /dev/null
+++ b/tests/general/bug-163.xsl
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform">
+ <template match="/">
+ <value-of select="id('indexme')/@some-attr"/>
+ </template>
+</stylesheet>