XML not allowing escape characters under cdata section



I have below xml content, which has some escape characters in cdata but xml parses that too and throws error.


here is my xml content:

<?xml version="1.0"?>
<rss version="2.0" xmlns:wp="http://ift.tt/1pIX84O" xmlns:dc="http://ift.tt/mToXri" xmlns:dsq="http://www.disqus.com/" xmlns:content="http://ift.tt/yb6HFH">
<channel>
<item>
<title><![CDATA[Dude, Where’s My AM Tuner?]]></title>
<link>http://ift.tt/1pIX84T;
<content:encoded />
<dsq:thread_identifier>26</dsq:thread_identifier>
<wp:post_date_gmt>2010-12-07 02:02:25</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:comment>
<wp:comment_id>75</wp:comment_id>
<wp:comment_author>Dave - FL</wp:comment_author>
<wp:comment_author_email>garb_acct@tampabay.rr.com</wp:comment_author_email>
<wp:comment_author_url />
<wp:comment_author_IP>
</wp:comment_author_IP>
<wp:comment_date_gmt>2010-12-27 06:21:34</wp:comment_date_gmt>
<wp:comment_content><![CDATA[Re Mike Joyners post, they could have done this 25 years ago by running with the Eureka concept. But no, the empty heads running radio did everything they could to drive themselves into the ground: C-Quam at low fidelity to guarantee its failure; Docket 80-90 to move too many stations into a little area where there is not enough money to support them all; removing the ownership cap so they could drive the prices so high they bankrupt themselves; Adopting IBOC to reduce the analog coverage area on FM and blow other AMs away. Yes, the self destructive nature of the station owners would make it a waste to give them anything more. They would do better returning to wire-cast and hope for listeners like the other internet broadcasters.]]></wp:comment_content>
<wp:comment_approved>1</wp:comment_approved>
<wp:comment_parent>0</wp:comment_parent>
</wp:comment>
<wp:comment>
<wp:comment_id>79</wp:comment_id>
<wp:comment_author>Mike Joyner</wp:comment_author>
<wp:comment_author_email>mlj@airmail.net</wp:comment_author_email>
<wp:comment_author_url />
<wp:comment_author_IP>
</wp:comment_author_IP>
<wp:comment_date_gmt>2010-12-16 11:47:42</wp:comment_date_gmt>
<wp:comment_content><![CDATA[I think that a consolidation of broadcast radio into all VHF could be a workable idea. Taking TV channel 6 and including it into a super FM Band would allow plenty of room for all of the United States broadcast radio stations. All United States AM broadcast band would go dark. With the new (Ch 6) spectrum there would be enough room to allow for some channels to be reserved for a contigious nationwide network of one RF channel for one station nationwide . thank you]]></wp:comment_content>
<wp:comment_approved>1</wp:comment_approved>
<wp:comment_parent>0</wp:comment_parent>
</wp:comment>
<wp:comment>
<wp:comment_id>81</wp:comment_id>
<wp:comment_author>Al</wp:comment_author>
<wp:comment_author_email>almartin@brainerd.net</wp:comment_author_email>
<wp:comment_author_url />
<wp:comment_author_IP>
</wp:comment_author_IP>
<wp:comment_date_gmt>2011-01-06 10:41:40</wp:comment_date_gmt>
<wp:comment_content><![CDATA[For me the real value of AM has always been at night, when one can listen to stations from other regions of the country, or other countries. It provided a common connection, bypassing the homogenization of corporate radio broadcasting. I learned what other people sounded like, or thought about. This trend to one-size-fits-all diminishes all of us. One of our local AM stations here in northern Minnesota had to go directional to the north at night. Occasionally they'd get reports from people living in Finland who listened to them! Up and over the North Pole.]]></wp:comment_content>
<wp:comment_approved>1</wp:comment_approved>
<wp:comment_parent>0</wp:comment_parent>
</wp:comment>
</item>
</channel>
</rss>


in title element there is escape character which is inside cdata section.


No comments:

Post a Comment