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

Jakob Korherr commented on MYFACES-2835:
----------------------------------------

Yes, I know. The solution is right on ResponseWriter.

But there are changes included in HtmlResponseWriterImpl and 
PartialResponseWriterImpl too, because they override startCData() and 
endCData(), but use super.xxxCData() and expect this to really happen in this 
case. These calls have to be replaced by write ("<![CDATA["); and write 
("]]>"); respectively.

> ResponseWriter.startCDATA() and endCDATA() methods should take no action 
> according to the Javadocs
> --------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-2835
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2835
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-252
>    Affects Versions: 2.0.1
>            Reporter: Bruno Aranda
>            Assignee: Bruno Aranda
>             Fix For: 2.0.2-SNAPSHOT
>
>
> Hence, the body of this methods should be empty.
> This is highlighted by a problem with Primefaces, where Mojarra works without 
> problems and Myfaces not, because it adds nested CDATA sections, hence 
> breaking the custom partial response XML created by Primefaces.

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

Reply via email to