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

XML standalone element is lost during transformation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 5.0u35
    • Fix Version/s: None
    • Component/s: xml

      Description

      The XML test case

      Transform_Tests/DoctypeTest

      failed during jdk 1.5.0 u36 testing with the message:

      FAIL: Test Result String `<?xml version="1.0" encoding="UTF-8"?>`does not match Gold File String = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>`

      Indeed, the standalone element is lost during the transformation. It exists in the original xml file, but absent in the output. See a test case with golden (doctypeGF.out) and output (doctype.out) files in the attachment.

      This is not a regression. This is not reproducible with JDK 6/7.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              afomin Alexander Fomin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: