xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Sancho (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (XGC-86) [PATCH] DSCParser always throws DSCException %%EOF not found when checkEOF is false
Date Wed, 23 Oct 2013 12:37:41 GMT

     [ 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


Mime
View raw message