You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by "Blake Sullivan (JIRA)" <ji...@apache.org> on 2009/11/30 02:59:20 UTC

[jira] Created: (COMDEV-3) HTML Escapes writes out characters illegal in HTML

HTML Escapes writes out characters illegal in HTML
--------------------------------------------------

                 Key: COMDEV-3
                 URL: https://issues.apache.org/jira/browse/COMDEV-3
             Project:  	 Community Development 
          Issue Type: Bug
         Environment: generic
            Reporter: Blake Sullivan


The HTML specification disallows certain code points from appearing in HTML files (XML has essentially the same list, minus the high ISO characters) as specified in http://www.w3.org/TR/REC-html40/sgml/sgmldecl.html.  The Trinidad HtmlEscapes utilities allow the low control characters and the high characters that are technically outside of Unicode to be output.  This causes problems if the content is validated.

The fix is to use numeric character references such as &#1; rather than outputting code point 1 directly.  In addition, Internet Explorer has a bug where &#0; is output as "&#0;" so it is preferable to suppress this character rather then outputting it.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (COMDEV-3) HTML Escapes writes out characters illegal in HTML

Posted by "Blake Sullivan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COMDEV-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blake Sullivan closed COMDEV-3.
-------------------------------

    Resolution: Invalid

assigned to wrong project

> HTML Escapes writes out characters illegal in HTML
> --------------------------------------------------
>
>                 Key: COMDEV-3
>                 URL: https://issues.apache.org/jira/browse/COMDEV-3
>             Project:  	 Community Development 
>          Issue Type: Bug
>         Environment: generic
>            Reporter: Blake Sullivan
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The HTML specification disallows certain code points from appearing in HTML files (XML has essentially the same list, minus the high ISO characters) as specified in http://www.w3.org/TR/REC-html40/sgml/sgmldecl.html.  The Trinidad HtmlEscapes utilities allow the low control characters and the high characters that are technically outside of Unicode to be output.  This causes problems if the content is validated.
> The fix is to use numeric character references such as &#1; rather than outputting code point 1 directly.  In addition, Internet Explorer has a bug where &#0; is output as "&#0;" so it is preferable to suppress this character rather then outputting it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COMDEV-3) HTML Escapes writes out characters illegal in HTML

Posted by "Blake Sullivan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COMDEV-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783767#action_12783767 ] 

Blake Sullivan commented on COMDEV-3:
-------------------------------------

Sorry.  This is for MyFaces Trinidad

-- Blake Sullivan




> HTML Escapes writes out characters illegal in HTML
> --------------------------------------------------
>
>                 Key: COMDEV-3
>                 URL: https://issues.apache.org/jira/browse/COMDEV-3
>             Project:  	 Community Development 
>          Issue Type: Bug
>         Environment: generic
>            Reporter: Blake Sullivan
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The HTML specification disallows certain code points from appearing in HTML files (XML has essentially the same list, minus the high ISO characters) as specified in http://www.w3.org/TR/REC-html40/sgml/sgmldecl.html.  The Trinidad HtmlEscapes utilities allow the low control characters and the high characters that are technically outside of Unicode to be output.  This causes problems if the content is validated.
> The fix is to use numeric character references such as &#1; rather than outputting code point 1 directly.  In addition, Internet Explorer has a bug where &#0; is output as "&#0;" so it is preferable to suppress this character rather then outputting it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COMDEV-3) HTML Escapes writes out characters illegal in HTML

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COMDEV-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783560#action_12783560 ] 

Bertrand Delacretaz commented on COMDEV-3:
------------------------------------------

I guess this issue is meant for MyFaces, not comdev?

> HTML Escapes writes out characters illegal in HTML
> --------------------------------------------------
>
>                 Key: COMDEV-3
>                 URL: https://issues.apache.org/jira/browse/COMDEV-3
>             Project:  	 Community Development 
>          Issue Type: Bug
>         Environment: generic
>            Reporter: Blake Sullivan
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The HTML specification disallows certain code points from appearing in HTML files (XML has essentially the same list, minus the high ISO characters) as specified in http://www.w3.org/TR/REC-html40/sgml/sgmldecl.html.  The Trinidad HtmlEscapes utilities allow the low control characters and the high characters that are technically outside of Unicode to be output.  This causes problems if the content is validated.
> The fix is to use numeric character references such as &#1; rather than outputting code point 1 directly.  In addition, Internet Explorer has a bug where &#0; is output as "&#0;" so it is preferable to suppress this character rather then outputting it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.