﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts v3 / Using FusionCharts / FusionCharts and JSP  / Invalid XML data / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Wed, 03 Dec 2008 02:28:04 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Invalid XML data</title><link>http://www.fusioncharts.com/forum/Topic5280-33-1.aspx</link><description>Brian,&lt;br&gt;&lt;br&gt;If you do not want the chart to unescape the link for you, we'll have to customize the code for you.</description><pubDate>Tue, 15 Apr 2008 01:11:36 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: Invalid XML data</title><link>http://www.fusioncharts.com/forum/Topic5280-33-1.aspx</link><description>Let me try that again with the correct escaping so you can see what I meant:&lt;br&gt;&lt;br&gt;Using %26apos; gets me past the Invalid XML problem. But when I click on the link, the resulting URL decodes the %26apos; back to &amp;amp;apos;. So if I had a parameter like p=Mc'Donalds and I set link to p=Mc%26apos;Donalds, the URL becomes p=Mc&amp;amp;apos;Donalds so my server sets p to Mc. Is there any way around that?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Brian</description><pubDate>Thu, 10 Apr 2008 14:48:12 GMT</pubDate><dc:creator>Brian D.</dc:creator></item><item><title>RE: Invalid XML data</title><link>http://www.fusioncharts.com/forum/Topic5280-33-1.aspx</link><description>Using %26apos; gets me past the Invalid XML problem.  But when I click on the link, the resulting URL decodes the %26apos; back to &amp;apos;.  So if I had a parameter like p=Mc'Donalds and I set link to p=Mc%26apos;Donalds, the URL becomes p=Mc&amp;apos;Donalds so my server sets p to Mc.  Is there any way around that?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Brian</description><pubDate>Thu, 10 Apr 2008 14:43:20 GMT</pubDate><dc:creator>Brian D.</dc:creator></item><item><title>RE: Invalid XML data</title><link>http://www.fusioncharts.com/forum/Topic5280-33-1.aspx</link><description>Found the solution!! The issue is because I didnt escaped properly. using java replace method have escaped \ with \\&lt;/P&gt;&lt;P&gt;Now it is working fine.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Moorthy</description><pubDate>Sat, 05 Apr 2008 08:17:28 GMT</pubDate><dc:creator>moorthy</dc:creator></item><item><title>RE: Invalid XML data</title><link>http://www.fusioncharts.com/forum/Topic5280-33-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I have another requirement. In the drill link I am calling one javascript method. The code is:&lt;/P&gt;&lt;P&gt;link='javascript:ShowMenu('Moorthy', 'Mark O'Hon)'&lt;/P&gt;&lt;P&gt;Have encoded single quote. After encoding the code is:&lt;/P&gt;&lt;P&gt;link='javascript:ShowMenu(%26apos;Moorthy%26apos;, %26apos;Mark O%26apos;Hon%26apos;)'&lt;/P&gt;&lt;P&gt;But I am getting javascript error while clicking the link(bar) in the chart. This issue is because the value itself having single quote. Have tried like this: &lt;/P&gt;&lt;P&gt;link='javascript:ShowMenu(%26apos;Moorthy%26apos;, %26apos;Mark O\'Hon%26apos;)'&lt;/P&gt;&lt;P&gt;i,e have replaced the sinle quote in the value by \' In this case I am getting invalid xml error.&lt;/P&gt;&lt;P&gt;Any solution. Thanks for the help in advance&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Moorthy</description><pubDate>Sat, 05 Apr 2008 03:17:32 GMT</pubDate><dc:creator>moorthy</dc:creator></item><item><title>RE: Invalid XML data</title><link>http://www.fusioncharts.com/forum/Topic5280-33-1.aspx</link><description>Its works for me. Thanks a lot.</description><pubDate>Wed, 26 Mar 2008 06:10:00 GMT</pubDate><dc:creator>moorthy</dc:creator></item><item><title>RE: Invalid XML data</title><link>http://www.fusioncharts.com/forum/Topic5280-33-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;Could you please use %26 for &amp;amp;, %26apos; for single quote (') , %26quot; for double quote (").</description><pubDate>Wed, 26 Mar 2008 06:02:49 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: Invalid XML data</title><link>http://www.fusioncharts.com/forum/Topic5280-33-1.aspx</link><description>And I found the &amp;amp; in the url causing the issue. How do we encode this?</description><pubDate>Wed, 26 Mar 2008 05:47:44 GMT</pubDate><dc:creator>moorthy</dc:creator></item><item><title>Invalid XML data</title><link>http://www.fusioncharts.com/forum/Topic5280-33-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I am getting invalid xml data. It seems to be some issue in the argument I am passing in the link javascript method. Please find the xml tag below:&lt;/P&gt;&lt;P&gt;&amp;lt;set label='A-B' value='589987'  link='javascript:openInWindow(&amp;amp;#34/GHJYT/ShowPage/ID_DATA?doFilterData=true&amp;amp;f[11][op]=EQ&amp;amp;f[11][len]=1&amp;amp;f[11][0]=4-7&amp;amp;f[7][op]=EQ&amp;amp;f[7][len]=1&amp;amp;f[7][0]=APT&amp;amp;DisplayType=chart&amp;amp;#34, &amp;amp;#34&amp;amp;#34,&amp;amp;#34resizable=1&amp;amp;#34 );'  tooltext = 'Count:589987'/&amp;gt;&lt;/P&gt;&lt;P&gt;Any idea? Thanks for the help in advance&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Moorthy</description><pubDate>Wed, 26 Mar 2008 05:27:36 GMT</pubDate><dc:creator>moorthy</dc:creator></item></channel></rss>