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

[XML 1.0/1.1] - Attribute values with supplemental characters are being corrupted.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • xml
    • None

        From the original Apache Bugzilla #25571:

        The document scanner fails to clear an internal buffer before processing
        supplemental characters in attribute values meaning if there was anything
        previously in the buffer it gets appended to the result.

        For XML 1.0 documents, the buffer could contain a previously processed
        character reference or supplemental character.

        For XML 1.1 documents, the buffer could contain a previously processed
        supplemental character.

              martin Martin Buchholz
              joehw Joe Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: