HTML Comment in JSF Templates is Partially Incorrectly Encoded (HTML special characters)
Last updated on JUNE 26, 2013
Applies to:Oracle Exalogic Elastic Cloud Software - Version 18.104.22.168.1 to 22.214.171.124.2
Oracle Weblogic Server - Version 126.96.36.199 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:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms