summaryrefslogtreecommitdiff
path: root/tests/general
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2008-06-25 07:05:52 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2008-06-25 07:05:52 +0000
commit1025c148f394152fea552b70ec368050b7a52827 (patch)
treec9e2966ed766041e739a8c01e7eca04f1be67aa9 /tests/general
parent71f86c0926a077fa3e7d23dbfbbd940d22ea82f7 (diff)
downloadlibxslt-1025c148f394152fea552b70ec368050b7a52827.tar.gz
libxslt-1025c148f394152fea552b70ec368050b7a52827.tar.bz2
libxslt-1025c148f394152fea552b70ec368050b7a52827.zip
added code to handle literal within an AVT #539741. tests/docs/Makefile.am
* libxslt/attrvt.c: added code to handle literal within an AVT #539741. * tests/docs/Makefile.am tests/docs/bug-168.xsl * tests/general/Makefile.am tests/general/bug-168.* add a test for this bug to the regression suite. svn path=/trunk/; revision=1481
Diffstat (limited to 'tests/general')
-rw-r--r--tests/general/Makefile.am1
-rw-r--r--tests/general/bug-168.out2
-rw-r--r--tests/general/bug-168.xsl9
3 files changed, 12 insertions, 0 deletions
diff --git a/tests/general/Makefile.am b/tests/general/Makefile.am
index 106844be..87b0ed2c 100644
--- a/tests/general/Makefile.am
+++ b/tests/general/Makefile.am
@@ -175,6 +175,7 @@ EXTRA_DIST = \
bug-165.out bug-165.xsl bug-145.err \
bug-166.out bug-166.xsl \
bug-167.out bug-167.xsl \
+ bug-168.out bug-168.xsl \
character.out character.xsl \
character2.out character2.xsl \
itemschoose.out itemschoose.xsl \
diff --git a/tests/general/bug-168.out b/tests/general/bug-168.out
new file mode 100644
index 00000000..2ca99bc8
--- /dev/null
+++ b/tests/general/bug-168.out
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+<A xmlns="http://www.w3.org/1999/xhtml" a="{http://www.w3.org/1999/XSL/Transform}stylesheet"/><B xmlns="http://www.w3.org/1999/xhtml" b="{http://www.w3.org/1999/XSL/Transform}stylesheet"/>
diff --git a/tests/general/bug-168.xsl b/tests/general/bug-168.xsl
new file mode 100644
index 00000000..cd13d419
--- /dev/null
+++ b/tests/general/bug-168.xsl
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns="http://www.w3.org/1999/xhtml">
+
+<xsl:template match="*">
+<A a="{concat('{',namespace-uri(),'}',local-name())}"/>
+<B b='{concat("{",namespace-uri(),"}",local-name())}'/>
+</xsl:template>
+
+</xsl:stylesheet>