Cheiro

Invalid Xml Error

Recommended Posts

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???

 

Share this post


Link to post
Share on other sites
Guest Angshu

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
Guest Angshu

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.

post-10517-0-79197000-1314358241_thumb.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now