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.
Michael Kay
XSLT conformance
v6.5.2
Public
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2003-08-14 14:21 | mhkay |
| resolution_id | None | 2003-08-14 14:21 | mhkay |
| summary | xsl:attribute name="xmlns:x" isnt an error | 2003-08-14 14:21 | mhkay |
| close_date | - | 2003-08-14 14:21 | mhkay |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use