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

Bruno Aranda commented on MYFACES-2835:
---------------------------------------

I am afraid it is the solution. The javadocs read:

"Open an XML CDATA block. Note that XML does not allow nested CDATA blocks, 
though this method does not enforce that constraint. The default implementation 
of this method takes no action when invoked."

https://javaserverfaces.dev.java.net/nonav/docs/2.0/javadocs/index.html

Which means that ResponseWriter (and maybe HtmlResponseWriterImpl) should do 
nothing where invoked. For the PartialResponseWriterImpl we already have a 
nested CDATA check in place...



> 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