xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Hennebert (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (XGC-86) [PATCH] DSCParser always throws DSCException %%EOF not found when checkEOF is false
Date Thu, 24 Jul 2014 08:41:39 GMT

     [ https://issues.apache.org/jira/browse/XGC-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vincent Hennebert resolved XGC-86.
----------------------------------

    Resolution: Fixed

Fixed in rev. [1613039|http://svn.apache.org/r1613039].

Thanks for your patch!
Vincent

> [PATCH] DSCParser always throws DSCException %%EOF not found when checkEOF is false
> -----------------------------------------------------------------------------------
>
>                 Key: XGC-86
>                 URL: https://issues.apache.org/jira/browse/XGC-86
>             Project: XMLGraphicsCommons
>          Issue Type: Bug
>          Components: postscript
>    Affects Versions: 1.4
>            Reporter: Teon Metselaar
>            Priority: Minor
>         Attachments: DSCParser.java.patch
>
>
> When checkEOF is set to false, the value of eofFound is never set to true when the document
is parsed.
> This way, the method checkLine will always throw a DSCException that %%EOF is not found
at the end of the file.
> I think this exception should only be thrown when checkEOF is true OR the value of eofFound
should be set regardless of the value of checkEOF



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message