myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Spencer (JIRA)" <>
Subject [jira] Commented: (MYFACES-1396) Too much escaping
Date Thu, 21 Dec 2006 10:57:24 GMT
    [ ] 
Paul Spencer commented on MYFACES-1396:

The JSP, test.jsp,  includes "/base/taglibInclude.jsp", but that file is not attached to this
issue.  Is it needed for the test?

Paul Spencer

> Too much escaping
> -----------------
>                 Key: MYFACES-1396
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>            Reporter: Tomas Fischer
>         Assigned To: Martin Marinschek
>            Priority: Blocker
>         Attachments: test.jsf
> HTMLOutputText (which delegates to HTMLEncoder) escapes not only XML-invalid charactres
(like <, >, &), but also german umlauts. This is OK if generating (X)HTML, but not
OK if generating XML. However, according to the official documentation to the outputText Tag
the german umlauts should not be quoted: If the "escape" attribute is not present, or it is
present and its value is "true" all angle brackets should be converted to the ampersand xx
semicolon syntax when rendering the value of the "value" attribute as the value of the component.
> There is an automatic XML detection, but this is broken, as only predefined MIME-types
are recognized (application/xhtml+xml, application/xml, text/xml).
> This bug prevents using JSF for generating other content (e.g. SVG, MIME-type image/svg+xml).

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message