Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4488

MyFaces Does Not Honor " " HTML Entity

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0.0-RC2
    • 2.3.11, 3.0.3, 2.3-next-M8, 4.0.0-RC4
    • None
    • None

    Description

      This came up as part of the Faces 4.0 TCK where some pages weren't rendered the same as Mojarra. This behavior is replicated in the sample code below. There should be a space between Hello and World. However, I found that `#160;` is recognized.

      <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
      <html xmlns=“http://www.w3.org/1999/xhtml” xmlns:c=“http://java.sun.com/jsp/jstl/core” xmlns:h=“http://java.sun.com/jsf/html” xmlns:f=“http://java.sun.com/jsf/core” xmlns:ui=“http://java.sun.com/jsf/facelets”>
          <h:head>
          </h:head>
          <h:body>
             Hello&nbsp;World
             Good&#160;Bye
          </h:body>
      </html>

      Attachments

        Activity

          People

            tandraschko Thomas Andraschko
            volosied Volodymyr Siedlecki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: