Archive for the ‘XML’ Tag

Whitespace and haxe.xml.Fast

I have been excitedly delving into the world of haXe, NME and Jeash over the last month or so. One item that just caught me out was this:-

Don’t have any whitespace either side of your CDATA tags in XML. It will mess up the Fast parsing (at least for the html5 target). If I find a workaround I’ll post it up here….


<![CDATA[New ideas]]>


<title><![CDATA[New ideas]]></title>


Word-wrap in Eclipse

I was amazed to see that word-wrapping does not come as standard in Eclipse and that it has been on the feature request list for years. I know that your code shouldn’t be longer than the width of the page but I wanted to use Eclipse to edit my xml and I frequently have large chunks of text content that are a pain to work with if they don’t wrap. After some rooting around I found this plugin – ‘Virtual word wrap’. Once installed, you can turn wrapping on and off with a right-click. I read that it’s a little basic and buggy but it serves my purposes well. Here is the link:-