Donate Share

Saxon XSLT and XQuery Processor

Tracker: Bugs

5 xsl:namespace name="" - ID: 645190
Last Update: Comment added ( mhkay )

Saxon rejects the instruction <xsl:namespace name="">,
which is legitimate: it should create a namespace node
for the default namespace.

This masks another bug, which is that Saxon does not
detect the user error of creating a namespace node for
the default namespace when the element itself is in the
null namespace. If the element is in the null
namespace, then the default namespace (ie, the
zero-length-prefix) must refer to the null namespace,
because no other prefix can be used for this purpose.

Reported by Paul V. Biron.

Affects all 7.x releases.

Source code fixed for both bugs.

Test cases added: nspc43 and error020.


Michael Kay ( mhkay ) - 2002-11-28 10:44

5

Closed

Fixed

Michael Kay

XSLT conformance

v7.3

Public


Comment ( 1 )

Date: 2002-12-10 15:47
Sender: mhkayProject Admin

Logged In: YES
user_id=251681

Fixed in 7.3.1


Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
close_date 2002-12-10 15:45 2002-12-10 15:47 mhkay
status_id Open 2002-12-10 15:45 mhkay
resolution_id None 2002-12-10 15:45 mhkay
summary xsl:namespace name="" 2002-12-10 15:45 mhkay
close_date - 2002-12-10 15:45 mhkay