Description
Hi,
When the default response writer writes a script, it includes CDATA tags around the body. If the script is being written inside another CDATA section for some reason (Primefaces does this in its partial response), then invalid XML is created.
I attach patch for the fix to be reviewed, before I commit something not quite right again and we can discuss. Basically, a simple boolean is used to check if a CDATA is already open or not.
Attachments
Attachments
Issue Links
- is related to
-
MYFACES-2831 Avoid neested CDATA section for PPR e.g. with Primefaces
- Closed