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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: xml
    • Labels:
      None

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: