[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to