Jump to content


Invalid Xml Error


  • Please log in to reply
3 replies to this topic

#1 Cheiro

Cheiro

    Forum Newbie

  • Members
  • 8 posts

Posted 26 August 2011 - 11:04 AM

Hi

We have the following XML that renders chart perfectly in local build. But when it is deployed on the server in IIS, It shows "Invalid XML Error" If we refresh the page after a couple of times the same XML Chart renders just fine. Below XML is from the Log which was captured from the server, same XML gave the error and also rendered fine after refreshes.

When the debug more is set as on we get the message as -Start and end tag mismatch

But if we check the xml we see that it is well formed.


<chart  exportEnabled='1' exportAction='Save' exportAtClient='0' exportHandler='../Export_Handler/FCExporter.aspx' showBorder='0' bgAlpha='0,0' baseFont='Arial' baseFontSize='11' labelDisplay='ROTATE' slantLabels='1' showShadow='0' showNames='1' animation='0' showLegend='1' rotateNames='1' showvalues='0' SYAxisName='Filter Hits' PYAxisName='Unique IPs' caption='Failures'>
 <categories>
<category name='2010-1-1'/>
<category name='2010-1-2'/>
<category name='2010-1-3'/>
<category name='2010-1-4'/>
<category name='2010-1-5'/>
 </categories>
<dataset alpha='90' color='BBFFBB' showValues='0' parentYAxis='P' seriesname='IPs'>
<set value='0'/>
<set value='56'/>
<set value='78'/>
<set value='41'/>
<set value='525'/>
</dataset>
<dataset  alpha='90' color='BBBBFF' showValues='0' parentYAxis='P' seriesname='Dest IPs'>
<set value='0'/>
<set value='110'/>
<set value='135'/>
<set value='41'/>
<set value='642'/>
</dataset>
<dataset  color='FF3333' showValues='0' anchorSides='8' parentYAxis='S' lineThickness='3' seriesname='Hits' anchorRadius='3'>
<set value='0'/>
<set value='98064'/>
<set value='481958'/>
<set value='171925'/>
<set value='1969662'/>
</dataset>
</chart>


Could anyone advise on this???



#2 Angshu

Angshu

    Supreme Being

  • Administrators
  • 3222 posts

Posted 26 August 2011 - 11:11 AM

Hi,

Thanks for your post.

Could you please confirm the chart renderer( Flash or JS) , FusionCharts version and chart type you are using?

Awaiting for your response.
Help us improve our documentation with your precious feedback at:

[url="http://documentation-survey.g.fusioncharts.com/"][url][url]http://documentation...sioncharts.com/[/url][/url][/url]

Best,

Angshu

[url="http://twitter.com/fusioncharts"]Follow us on @Twitter[/url]



#3 Cheiro

Cheiro

    Forum Newbie

  • Members
  • 8 posts

Posted 26 August 2011 - 11:16 AM

Hi,

Thanks for your post.

Could you please confirm the chart renderer( Flash or JS) , FusionCharts version and chart type you are using?

Awaiting for your response.


Hi Angshu, Thanks,

Chart render : Flash
we are using FusionChart.Renderchart() method with SWF

Version: Current Version: FusionCharts v3.2.1 (Released on 6th October 2010)

Chart Types:
../FusionCharts/MSCombiDY2D.swf

../FusionCharts/MSLine.swf

After the deployment, This happens only for the first few times and after several refershes. with the same XML it renders the chart fine.

#4 Angshu

Angshu

    Supreme Being

  • Administrators
  • 3222 posts

Posted 26 August 2011 - 11:30 AM

Hi,

I am afraid, we are unable to replicate the issue,as the XML code is working fine from our end.

Please find the screenshot attached for your reference.

Attached Thumbnails

  • MSCombiDY2D.png

Help us improve our documentation with your precious feedback at:

[url="http://documentation-survey.g.fusioncharts.com/"][url][url]http://documentation...sioncharts.com/[/url][/url][/url]

Best,

Angshu

[url="http://twitter.com/fusioncharts"]Follow us on @Twitter[/url]