Fix handling of names in xsl:attribute
authorNick Wellnhofer <wellnhofer@aevum.de>
Thu, 16 Aug 2012 00:18:31 +0000 (02:18 +0200)
committerDaniel Veillard <veillard@redhat.com>
Thu, 6 Sep 2012 13:58:42 +0000 (21:58 +0800)
commitd7a5a69990345838d1c5d1b23280caa1c842a949
treea15ecea56f1a5693d525e027ca03edceb1742241
parentf6c48211e5ee97b36ae9f3d2f8711fdce38e6e5e
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.
libxslt/attributes.c
libxslt/preproc.c
tests/REC/test-7.1.3.out