HTML Comment in JSF Templates is Partially Incorrectly Encoded (HTML special characters)
(Doc ID 1564248.1)
Last updated on OCTOBER 28, 2019
Applies to:Oracle Exalogic Elastic Cloud Software - Version 188.8.131.52.1 to 184.108.40.206.2
Oracle WebLogic Server - Version 220.127.116.11 and later
Information in this document applies to any platform.
You have migrated a JSF Web Application module from Websphere to Weblogic. There is an issue when having comments with special characters in a xhtml template (for example, a conditional comment for Internet Explorer). The special characters are partially replaced by an html encoded eqivalent (for example &lt; instead of <).
The application works, but the partial comment of the <head> element is shown in the browser (Internet Explorer 9 on Windows 7).
Summary: With the implementation of JSF, when the xhtml is implemented with the conditional comments, the commented html tags is seen in .xhtml page as shown below:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document