Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#108 xsl:namespace name=""

v7.3
closed
Michael Kay
5
2012-10-08
2002-11-28
Michael Kay
No

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.

Discussion

  • Michael Kay
    Michael Kay
    2002-12-10

    Logged In: YES
    user_id=251681

    Fixed in 7.3.1