Summary: | [PATCH] Crash of due to a NumberFormatException in XMPSchemaAdapter (problem of GMT parsing) | ||
---|---|---|---|
Product: | XMLGraphicsCommons - Now in Jira | Reporter: | Florian Barbera Vila Bollain <f.barbera> |
Component: | xmp | Assignee: | XML Graphics Project Mailing List <general> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | f.barbera |
Priority: | P2 | Keywords: | PatchAvailable |
Version: | 1.4 | ||
Target Milestone: | -- | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: | I propose a patch. I tested it in our soft. It seems to be OK. |
Description
Florian Barbera Vila Bollain
2011-04-07 14:18:55 UTC
Created attachment 26909 [details]
I propose a patch. I tested it in our soft. It seems to be OK.
I just replace :
if (zoneOffsetHours < 10) {
sb.append('0');
}
By
if (Math.abs(zoneOffsetHours) < 10) {
sb.append('0');
}
Patch applied: http://svn.apache.org/viewvc?rev=1095897&view=rev Thanks a lot! |