onekhy Report post Posted May 12, 2008 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 Share this post Link to post Share on other sites
FusionCharts Support Report post Posted May 13, 2008 Hi, Could you pelase try using <(in dataURL method) or %16lt;(in dataXML method)? Please note that < is not supported in vFREE charts. Share this post Link to post Share on other sites
onekhy Report post Posted May 13, 2008 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 Share this post Link to post Share on other sites
FusionCharts Support Report post Posted May 13, 2008 opps...please igonre the typo %16.. Please use %26lt; Share this post Link to post Share on other sites
onekhy Report post Posted May 13, 2008 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 Share this post Link to post Share on other sites
Pallav Report post Posted May 18, 2008 It's not a bug precisely. It's the way the browser treats XML. Share this post Link to post Share on other sites