summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2012-08-16 02:18:31 +0200
committerDaniel Veillard <veillard@redhat.com>2012-09-06 21:58:42 +0800
commitd7a5a69990345838d1c5d1b23280caa1c842a949 (patch)
treea15ecea56f1a5693d525e027ca03edceb1742241 /tests
parentf6c48211e5ee97b36ae9f3d2f8711fdce38e6e5e (diff)
downloadlibxslt-d7a5a69990345838d1c5d1b23280caa1c842a949.tar.gz
libxslt-d7a5a69990345838d1c5d1b23280caa1c842a949.tar.bz2
libxslt-d7a5a69990345838d1c5d1b23280caa1c842a949.zip
Fix handling of names in xsl:attribute
A prefix of 'xmlns' is actually allowed. It should simply be ignored if a namespace is given. Without a namespace the lookup by prefix will fail anyway. What the spec doesn't allow is an attribute name of 'xmlns' which will now be rejected.
Diffstat (limited to 'tests')
-rw-r--r--tests/REC/test-7.1.3.out2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/REC/test-7.1.3.out b/tests/REC/test-7.1.3.out
index dee08322..652fd9c6 100644
--- a/tests/REC/test-7.1.3.out
+++ b/tests/REC/test-7.1.3.out
@@ -1,2 +1,2 @@
<?xml version="1.0"?>
-<doc attr="value"/>
+<doc xmlns:ns_1="whatever" ns_1:xsl="http://www.w3.org/1999/XSL/Transform" attr="value"/>