tag:blogger.com,1999:blog-8847948271397805362.post5584640399635836396..comments2022-04-01T09:08:34.216-07:00Comments on Amy's Flex Diary: Problems with HTML within XMLAmy Bhttp://www.blogger.com/profile/10902594300072091444noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-8847948271397805362.post-7671166481212820642009-11-30T13:40:13.014-08:002009-11-30T13:40:13.014-08:00Hmm, it still reencodes &amp ; lt ; as the lef...Hmm, it still reencodes &amp ; lt ; as the left angle bracket. Seems that Flex's XML parser is just incorrectly ignoring and parsing CDATA no matter what I do.<br /><br /> I'll have to go read the XML reader source, bugs.adobe.com had nothing interesting.Unknownhttps://www.blogger.com/profile/17060117283029088283noreply@blogger.comtag:blogger.com,1999:blog-8847948271397805362.post-78644733650263863972009-11-30T13:27:46.420-08:002009-11-30T13:27:46.420-08:00Yes, already encoded &lt are being transformed...Yes, already encoded &lt are being transformed with in XML when wrapped in CDATAs. Wierd.Unknownhttps://www.blogger.com/profile/17060117283029088283noreply@blogger.comtag:blogger.com,1999:blog-8847948271397805362.post-24242248178208255342009-11-30T13:26:07.213-08:002009-11-30T13:26:07.213-08:00Trying again &amp ; lt;
(I added extra spaces...Trying again &amp ; lt;<br /><br />(I added extra spaces so it wouldn't convert.Amy Bhttps://www.blogger.com/profile/10902594300072091444noreply@blogger.comtag:blogger.com,1999:blog-8847948271397805362.post-52905289677983658722009-11-30T13:24:42.265-08:002009-11-30T13:24:42.265-08:00Have you tried encoding the &?
So &lt;Have you tried encoding the &?<br /><br />So &lt;Amy Bhttps://www.blogger.com/profile/10902594300072091444noreply@blogger.comtag:blogger.com,1999:blog-8847948271397805362.post-55207103132626328272009-11-30T13:05:42.383-08:002009-11-30T13:05:42.383-08:00Actually, I'm finding (flex sdk 3.0.0) that CD...Actually, I'm finding (flex sdk 3.0.0) that CDATA isn't literal enough even<br />with your settings.<br /><br />For example, &lt in CDATA blocks are being parsed and turned back into tags.Unknownhttps://www.blogger.com/profile/17060117283029088283noreply@blogger.comtag:blogger.com,1999:blog-8847948271397805362.post-27748004139795357882009-11-30T12:48:00.738-08:002009-11-30T12:48:00.738-08:00Actually, CDATA does work, but you need to underst...Actually, CDATA does work, but you need to understand that it's <b>very</b> literal, so any line breaks and tab stops in your source XML will be faithfully rendered by Flex. I have an article planed on InsideRIA about how to use this to your advantage.<br /><br />The object that you set prettyPrinting, ignoreWhiteSpace, prettyIndent, etc., on is the <b>global</b> XML object. So:<br /><br />Amy Bhttps://www.blogger.com/profile/10902594300072091444noreply@blogger.comtag:blogger.com,1999:blog-8847948271397805362.post-10977346881907403612009-11-30T12:40:19.443-08:002009-11-30T12:40:19.443-08:00Amy, any progress? CDATA does not work and the onl...Amy, any progress? CDATA does not work and the only way to get an object of XML is new XML(String) so you can't set prettyPrint to false and then create it.Unknownhttps://www.blogger.com/profile/17060117283029088283noreply@blogger.comtag:blogger.com,1999:blog-8847948271397805362.post-17009587591645538592009-08-14T08:14:08.247-07:002009-08-14T08:14:08.247-07:00This post was useful. The HTML special characters ...This post was useful. The HTML special characters suggestion really helped.<br /><br />ManiKanth.Unknownhttps://www.blogger.com/profile/09327949033665003434noreply@blogger.comtag:blogger.com,1999:blog-8847948271397805362.post-7491377792337881352007-12-28T15:38:00.000-08:002007-12-28T15:38:00.000-08:00Have you tried using HTML special characters inste...Have you tried using HTML special characters instead of < and ><BR/><BR/><A HREF="http://www.utexas.edu/learn/html/spchar.html" REL="nofollow">http://www.utexas.edu/learn/html/spchar.html</A><BR/><BR/>Look for less than and more thanUnknownhttps://www.blogger.com/profile/10817373573555103671noreply@blogger.com