Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4858685

Transformer.transform(StreamSource, DOMResult) fragments Text nodes at newlines

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: saaj1.2, 1.0, 5.0
    • Fix Version/s: 1.2.3
    • Component/s: xml
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.2.3
    • CPU:
      generic, sparc
    • OS:
      generic, solaris_9

      Description

      the latest release changed behavior and is now inserting sibling text nodes at every newline for Element content. the spec defines that the Element content will be presented as a single Text node. this is a serious regression. please see attachments for code to reproduce this problem and sample output of previous versions that worked correctly and the new incorrect behavior.
      ###@###.### 2003-05-05

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ayadavsunw Arun Yadav (Inactive)
                Reporter:
                jsuttorsunw Jeff Suttor (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: