Donate Share

Saxon XSLT and XQuery Processor

Tracker: Bugs

3 xsl:attribute name="xmlns:x" isnt an error - ID: 709011
Last Update: Settings changed ( mhkay )

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 ( mhkay ) - 2003-03-24 20:59

3

Closed

Fixed

Michael Kay

XSLT conformance

v6.5.2

Public


Comments

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Changes ( 4 )

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