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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.2.3
    • saaj1.2, 1.0, 5.0
    • xml
    • 1.2.3
    • generic, sparc
    • generic, solaris_9

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: