Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#218 prefix lost if it's uri equals xsl uri

v7.9.1
closed
nobody
5
2012-10-08
2004-05-28
No

Applying

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1">
<xsl:template match="*">
<xsl:copy>
<xsl:copy-of select="./@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

to the document

<main>
<alias:message xmlns:alias="http://www.w3.org/1999/XSL/Transform"/>
</main>

results in

<main>
<xsl:message xmlns:alias="http://www.w3.org/1999/XSL/Transform"/>
</main>

Thus, the alias prefix is changed to xsl - which is
not declared in the result document.

Everything is fine if I change the alias-uri to
something != the xsl uri ...

Discussion

  • Michael Kay
    Michael Kay
    2004-06-05

    Logged In: YES
    user_id=251681

    This is a duplicate of 962737. PLEASE do not enter bugs in
    this area until they have been confirmed; there is a bright
    yellow notice on the "Submit New" page. The correct route is
    to raise them on the saxon-help list or forum.

    Michael Kay