I have a simple web based drawing tool where I use SVG to store the drawing in a data base.
Typical sag looks like this :
<?xml version='1.0'?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
<svg version='1.1' xmlns='http://www.w3.org/2000/svg'>
<path fill='none' stroke='#FF0000' stroke-width='4' d='M85, 140 L85, 140, 86, 140, 88, 140'/>
<path fill='none' stroke='#FF0000' stroke-width='4' d='M299, 130 L299, 130, 301, 129, 304, 128'/>
</svg>
I manipulate the XML using jQuery via:
svgDoc = jQuery.parseXML(svgData);
There is problem with IE in that it strips the commas from my attributes.
In IE the d attribute comes out as " M85 140 L85 140 86 140 88 140 " All other browsers have "M85, 140 L85, 140, 86, 140, 88, 140"
Put simply is there a way of changing IE'd behaviour or do I have to program around it?