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

Bad error message on parsing illegal character in XML attribute

    Details

    • Subcomponent:
    • Resolved In Build:
      b59

      Backports

        Description

        The xml parser correctly detects if there is as an illegal character,
        and reports it as such, but the error message is mangled, and does not
        convey the correct information to the user.
        Example of incorrect output:
        An invalid XML character (Unicode: 0x{2}) was found in the value of attribute "{1}" and element is "0".
        The correct output should be like:
        An invalid XML character (Unicode: 0x0) was found in the value of attribute "attTest" and element is "topElement".

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aefimov Aleksej Efimov
                  Reporter:
                  shadowbug Shadow Bug
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: