|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 5/13/2008 2:16:07 PM
Posts: 3,
Visits: 7
|
|
| For some reason JS setDataXML does not handle the < correctly. I get the invalid XML error when I tired using the < character. I tried a couple of recommendations from forum using %3C and < with styles to no avail.
It works if I return the xml chart using the setDataURL. I tried the > and it works using %3E encoding.
Any thoughts or suggestions are greatly appreciated.
Regards,
Khy
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 4:19:22 AM
Posts: 885,
Visits: 1,422
|
|
| Hi, Could you pelase try using <(in dataURL method) or %16lt;(in dataXML method)? Please note that < is not supported in vFREE charts.
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 5/13/2008 2:16:07 PM
Posts: 3,
Visits: 7
|
|
I tired using < in the setDataURL and it works fine. That is why I find it odd. May there is some processing in the JS script when it retrieves the xml content from a URL.
Also I tried the %16lt; in setDataXML, the result is the "%16" portion gets converted to appropriate character but the remaining string "lt;" is still there. I tried %3C but in setDataXML the result is invalid XML error.
The version is the developer product.
Regards,
Khy
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 4:19:22 AM
Posts: 885,
Visits: 1,422
|
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 5/13/2008 2:16:07 PM
Posts: 3,
Visits: 7
|
|
Sudipto,
It works !!! Thanks. I am crossing my finger the next version will work with this type of fix as it is different than what gets passed to getDataURL.
Regards,
Khy
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 2 days ago @ 8:20:12 AM
Posts: 2,194,
Visits: 521
|
|
It's not a bug precisely. It's the way the browser treats XML.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|