xiebiao / owaspantisamy

Automatically exported from code.google.com/p/owaspantisamy
0 stars 0 forks source link

incorrect styleScanner.scanInlineStyle error handling #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NumberFormatException thrown by the batik css 
parser(styleScanner.scanInlineStyle) are not being caught,
instead they cause the cleaner to fail.  The attached patch fixes the
issue.

Original issue reported on code.google.com by billow...@gmail.com on 13 Apr 2011 at 5:27

Attachments:

GoogleCodeExporter commented 9 years ago
An example HTML code which throw this exception on parsing is:

<span style='width:100.0%;padding:0in 0in 0!in'>test</span>

Original comment by billow...@gmail.com on 13 Apr 2011 at 6:46

GoogleCodeExporter commented 9 years ago
Awesome, thanks!

Original comment by arshan.d...@gmail.com on 7 Jun 2011 at 5:26

GoogleCodeExporter commented 9 years ago
Now in HEAD.

Original comment by arshan.d...@gmail.com on 15 Sep 2011 at 8:15