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

Tiger: XML doc's encoding is lost from parse and serialization

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 1.3.0
    • xml
    • b92
    • sparc
    • solaris_8

      Parsing an XML doc with DocumentBuilder.parse() and then serializing the
      Document with DocumentLS.saveXML() should produce the original document
      w/o modification. The original doc specified an encoding as UTF-8, the
      serialized doc lost that information.

      Diff between the parsed and the serialized docs:

      <?xml version="1.1" encoding="UTF-8"?> versus
      <?xml version="1.1"?>
      ###@###.### 11/2/04 21:51 GMT

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: