tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 61603] New: Not-well-formed XML returned from /manager/status?XML=true when running Java 9
Date Tue, 10 Oct 2017 01:36:57 GMT

            Bug ID: 61603
           Summary: Not-well-formed XML returned from
                    /manager/status?XML=true when running Java 9
           Product: Tomcat 8
           Version: 8.5.23
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Manager
  Target Milestone: ----


When running Tomcat 8.5.23 or Tomcat 9.0.1 for that matter with Java 9
the response from /manager/status?XML=true is returning not-well-formed XML

Expected behaviour:
Getting well-formed XML.

Actual behaviour:
Getting non-well-formed XML.

Always when run on Java 9.

Example snippet of offending output:
<memorypool name='CodeHeap 'non-nmethods'' type='Non-heap memory'
usageInit='2555904' usageCommitted='2555904' usageMax='5836800'

Please note the apostrophes surrounding non-nmethods, which should be escaped.

Possible solution:
Ensure all String attribute values are XML-escaped.

Thank you.

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message