You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by "Pascal Sancho (JIRA)" <ji...@apache.org> on 2013/10/23 14:37:41 UTC

[jira] [Updated] (XGC-86) [PATCH] DSCParser always throws DSCException %%EOF not found when checkEOF is false

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

Pascal Sancho updated XGC-86:
-----------------------------

    Summary: [PATCH] DSCParser always throws DSCException %%EOF not found when checkEOF is false  (was: DSCParser always throws DSCException %%EOF not found when checkEOF is false)

> [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.1#6144)

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