XalanJ2
  1. XalanJ2
  2. XALANJ-2015

Namespace handling in identity transform with a DOMSource is incorrect

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.7
    • Component/s: XSLTC
    • Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
    • Labels:
      None

      Description

      The following XML file results in an exception when serialized using the identity transform from a DOMSource:

      <foo prefix:a="bar" xmlns:prefix="someURI"/>

      The problem is that attributes are reported in order (assuming they are returned in the same order as above by DOM), and the prefix "prefix" is not bound when "prefix:a" is serialized.

        Activity

          People

          • Assignee:
            Santiago Pericas-Geertsen
            Reporter:
            Santiago Pericas-Geertsen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development