omeshwar / svg-android-2

Automatically exported from code.google.com/p/svg-android-2
Apache License 2.0
0 stars 0 forks source link

svg presentation attributes crashes the parser #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Some SVG generators makes use of presentation attributes instead of style 
attributes.
This gradient color stop definition works fine.
<stop offset="0" style="stop-color:#D45500;stop-opacity:0"/>

When using presentation attributes the parser crashes.
<stop offset="0" stop-color="#D45500" stop-opacity="0"/>

The parser should allow both variants.

Original issue reported on code.google.com by and...@kaerus.org on 4 Apr 2012 at 11:09