JDK-8022268 : DRS: Unable to include escaped characters in message
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 7u40
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-08-05
  • Updated: 2015-09-29
  • Resolved: 2015-01-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u60 b01Fixed 9Fixed
Related Reports
Relates :  
Description
Including escaped XML characters like < or > causes display issues.

Example: <message>Blocked by corporate. Contact E. Costlow &lt;erik.costlow@oracle.com&gt; if you need to run this app.</message>
Comments
Crucible review: https://java.se.oracle.com/code/cru/CR-JDK9CLIENT-699
09-01-2015

Actually this is a bug not an RFE. The SAXParser implementation in DeploymentRuleSetParser does not override ignorableWhitespace, so when such a string is in the xml file, and multiple calls to characters() and ignorableWhitespace() are made, the text is not appended together to get the correct string - this is a simple fix.
08-01-2015

Enhancement request, this was designed to be a simple text message only.
05-08-2013