You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Werner Punz (Commented) (JIRA)" <de...@myfaces.apache.org> on 2011/09/29 12:21:45 UTC

[jira] [Commented] (MYFACES-3339) jsf.js:render all corner case fails on IE and chrome

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

Werner Punz commented on MYFACES-3339:
--------------------------------------

Ok the reason simply is I have following case:
<head>
<script type="text/javascript">
<![CDATA[
var a && b;
]]>
</script>

And then the server returns at the ajax refresh
<script type="text/javascript">
var a && b;
</script>

Now thanks to the xml parsing performed at the head and body replacement stage. The parser rightfully complains that this is not a valid xhml due to the && in the code.
I will try to add a fix on the client side but the final fix must come from the server if possible.


                
> jsf.js:render all corner case fails on IE and chrome
> ----------------------------------------------------
>
>                 Key: MYFACES-3339
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3339
>             Project: MyFaces Core
>          Issue Type: Bug
>            Reporter: Werner Punz
>
> One of my automated tests regarding render javax.faces.ViewRoot fails on chrome and ie, it works on all other browsers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira