Issue Details (XML | Word | Printable)

Key: ZF-9290
Type: Docs:  Problem Docs: Problem
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Mickael Perraud
Reporter: Graham Anderson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

XML parse errors prevent manual from building with xsltproc

Created: 28/Feb/10 08:35 AM   Updated: 28/Feb/10 09:31 AM   Resolved: 28/Feb/10 09:31 AM
Component/s: Zend_Feed_Writer
Affects Version/s: 1.10.2
Fix Version/s: 1.10.3

Time Tracking:
Not Specified

File Attachments: 1. Text File Zend_Feed_Writer.xml.patch (1 kB)


Language: English


 Description  « Hide

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.



Graham Anderson added a comment - 28/Feb/10 08:35 AM

patch to properly escape the closing triad of nested CDATA sections.


Mickael Perraud added a comment - 28/Feb/10 09:31 AM

Patch applied with r21256