JFR: XMLWriter is not XML 1.0 compliant

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 11, 26
    • Component/s: hotspot
    • None
    • jfr

      To avoid a dependency on the java.xml module, JFR contains an XML pretty printer (XMLWriter) used by 'jfr print --xml'. It may produce output that is not XML 1.0 compliant. Some control characters in the range 0–31 are currently escaped but should be replaced with '?'. Surrogate characters are also not handled. Not sure, but CDATA and "]]>" may also need some special treatment.

            Assignee:
            Unassigned
            Reporter:
            Erik Gahlin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: