xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51039] Crash of due to a NumberFormatException in XMPSchemaAdapter (problem of GMT parsing)
Date Wed, 20 Apr 2011 02:30:16 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51039

--- Comment #1 from Florian Barbera Vila Bollain <f.barbera@hotmail.fr> 2011-04-19 22:30:10
EDT ---
Created an attachment (id=26909)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26909)
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');
 }

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message