Page 1 of 1

XML Code Folding can't cope with CDATA

Posted: Fri Jul 08, 2011 6:18 am
by Rat
Hi Jussi,

I'm just "officially" reporting this bug in the correct forum... It was previously posted here.

In my testing I've noticed that the code folding doesn't cope with CDATA embedded in XML, where the CDATA contains HTML tags, see below...

Code: Select all

<marker name="Marker 1">
 <information><![CDATA[<div>This is a div</div>]]></information>
 <icon>images/marker.png</icon>
 <shadow>images/shadow.png</shadow>

 <position>-28.326626, 153.39386</position>

 <visibility>auto</visibility>
 <clickable>1</clickable>
</marker>
Cheers,
Keith.

Posted: Fri Jul 08, 2011 7:48 am
by jussij
A new xFolder found here should fix this issue: http://www.zeusedit.com/z300/xFolder.zip

Cheers Jussi

Posted: Fri Jul 08, 2011 10:10 am
by Rat
Works great! Thanks again Jussi!