DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41288>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41288 Summary: Parse error for integers >= 2**31 in attributes Product: Batik Version: 1.6 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: CSS AssignedTo: batik-dev@xmlgraphics.apache.org ReportedBy: [EMAIL PROTECTED] stroke-width="10000000000" or similar gives a parse error: ***** CSSEngine: exception property.syntax.error:java.lang.NumberFormatException: For input string: "10000000000" AttrValue:10000000000 Exception:java.lang.NumberFormatException java.lang.NumberFormatException: For input string: "10000000000" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:459) at java.lang.Integer.parseInt(Integer.java:497) at org.apache.batik.css.parser.Parser.parseTerm(Unknown Source) at org.apache.batik.css.parser.Parser.parseExpression(Unknown Source) at org.apache.batik.css.parser.Parser.parsePropertyValueInternal(Unknown Source) at org.apache.batik.css.parser.Parser.parsePropertyValue(Unknown Source) at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Unknown Source) at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unknown Source) at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknown Source) at org.apache.batik.bridge.CSSUtilities.convertDisplay(Unknown Source) at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source) at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source) at org.apache.batik.bridge.GVTBuilder.build(Unknown Source) at org.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown Source) There's no problem if a ".0" or "px" is added. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]