Uploaded image for project: 'XMLGraphicsCommons'
  1. XMLGraphicsCommons
  2. XGC-86

[PATCH] DSCParser always throws DSCException %%EOF not found when checkEOF is false

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Component/s: postscript
    • Labels:
      None

      Description

      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

        Attachments

        1. DSCParser.java.patch
          0.9 kB
          Teon Metselaar

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              teon Teon Metselaar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: