#15 Duplicate namespace nodes from DOMSource

closed
Michael Kay
5
2012-10-08
2001-07-24
Michael Kay
No

When the source document is supplied to Saxon from a
non-Saxon DOM (wrapped in a DOMSource object), the
resulting tree may contain duplicate namespace nodes
(two namespace nodes with the same name, same value,
and same parent). This will only be visible if
namespace nodes are examined explicitly by using the
namespace axis.

Present in all 6.4.3 and all previous releases (as far
as I know).

Reported by Gregor Karlinger (grekarli)

Discussion

  • Michael Kay
    Michael Kay
    2001-07-24

    Logged In: YES
    user_id=251681

    I haven't been able to reproduce this, but I think I can
    see the code that's causing it, and have added checks that
    should prevent it happening. So: there will be an "untested
    fix" in the next release. - MK