[ 
https://issues.apache.org/jira/browse/MYFACES-4488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17675595#comment-17675595
 ] 

Thomas Andraschko commented on MYFACES-4488:
--------------------------------------------

propably related to
https://github.com/eclipse-ee4j/mojarra/blob/8a2124c7a5c66642f898ff32924887f55990bc5b/impl/src/main/java/com/sun/faces/facelets/compiler/SAXCompiler.java#L174
https://github.com/eclipse-ee4j/mojarra/blob/8a2124c7a5c66642f898ff32924887f55990bc5b/impl/src/main/resources/com/sun/faces/xhtml/default.dtd

> MyFaces Does Not Honor " " HTML Entity
> -------------------------------------------
>
>                 Key: MYFACES-4488
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4488
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 4.0.0-RC2
>            Reporter: Volodymyr Siedlecki
>            Priority: Minor
>
> 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. 
> {code:java}
> <!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>{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to