You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/09/15 19:57:20 UTC

[jira] [Created] (PDFBOX-3500) Error expected floating point number actual='0.-262'

Tilman Hausherr created PDFBOX-3500:
---------------------------------------

             Summary: Error expected floating point number actual='0.-262'
                 Key: PDFBOX-3500
                 URL: https://issues.apache.org/jira/browse/PDFBOX-3500
             Project: PDFBox
          Issue Type: Bug
          Components: Parsing
    Affects Versions: 1.8.12, 1.8.13, 2.0.3, 2.1.0
            Reporter: Tilman Hausherr
             Fix For: 1.8.13, 2.0.4, 2.1.0


As reported by Simon Gaeremynck in the user mailing list with attached file. Proposed change in COSFloat
{code}
-            if (aFloat.matches("^0\\.0+\\-\\d+"))
+            if (aFloat.matches("^0\\.0*\\-\\d+"))
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org