Issue Type: Docs: Problem Created: 2010-02-28T08:35:07.000+0000 Last Updated: 2010-02-28T09:31:36.000+0000 Status: Resolved Fix version(s): - 1.10.3 (01/Apr/10)
Reporter: Graham Anderson (gnanderson) Assignee: Mickael Perraud (mikaelkael) Tags: - Zend_Feed_Writer
Related issues: Attachments: - Zend_Feed_Writer.xml.patch
Nested CDATA sections cause an XML parse error because the closing triad "]]>" cannot appear inside a CDATA section.
The issue doesn't occur in release-1.10 branch because the nested CDATA section has its closing sequence URL encoded. The issue exists in 1.10.2 tag and currently trunk.
I think the correct way to solve it would be to escape the closing sequence with another CDATA tag instead of URL encoding it. the attached patch does this.
Posted by Graham Anderson (gnanderson) on 2010-02-28T08:35:51.000+0000
patch to properly escape the closing triad of nested CDATA sections.
Posted by Mickael Perraud (mikaelkael) on 2010-02-28T09:31:36.000+0000
Patch applied with r21256
Have you found an issue?
See the Overview section for more details.