#129 xsl:attribute name="xmlns:x" isnt an error

v6.5.2
closed
3
2012-10-08
2003-03-24
Michael Kay
No

The XSLT 1.0 specification is quite explicit that it is
not an error to write

<xsl:attribute name="xmlns:thing"
namespace="whatever">...</xsl:attribute>

Saxon however reports this as a recoverable error. It
recovers by ignoring the attribute; the correct action
is simply to ignore the prefix "xmlns".

Applies to Saxon 6.5.2, 7.4, and all other releases.

Test case: atrs23

Source code fixed in both branches.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks