Entity « Facelets « JSF Q&A





1. JSF 2 - How To Preserve XML Entity Definitions in HTML output?    stackoverflow.com

I'm working on a JSF 2 web application. If I define a facelet that begins as follows:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd"[
    <!ENTITY nbsp "&#160;"> ...