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

Tiger: XML 1.1 doc parsed in by DocumentBuilder is serialized as XML 1.0 doc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3
    • 1.4.0
    • 1.3.0
    • xml

    Description

      A XML 1.1 document is parsed with a DocumentBuilder.parse(), and the resulting Document is then serialized with the new org.w3c.dom.ls.DocumentLS saveXML() method. The serialized document is no longer an XML 1.1 document, that is the
      resulting serialized doc has '<?xml version="1.0"?>' even though the original XML document that was parsed had '<?xml version="1.1" encoding="UTF-8"?>'.
      Shouldn't the serialized document be identical to the parsed document?

      Attachments

        Activity

          People

            jsuttorsunw Jeff Suttor (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: