ICEpdf
  1. ICEpdf
  2. PDF-507

Error parsing escaped single quote and double quote characters.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.0 alpha1, 5.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The PDF in question is extra special in that it shows a file lock error with our file handler in 4.x. In 5.x the locking problem isn't an issue but the lexer gets caught in an infinite loop when it encounters an escpted single quote..

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33164 Tue Jan 22 08:03:53 MST 2013 patrick.corless PDF-507 updated lexer to handle single and double quote escaped tokens.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/content/Lexer.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/content/LexerTest.java
        Patrick Corless created issue -
        Hide
        Patrick Corless added a comment -

        Updated the lexer to handle single and double quotes. Also added an else statement to make sure the lexer doesn't get caught in an infinite loop when handling escaped characters.

        Show
        Patrick Corless added a comment - Updated the lexer to handle single and double quotes. Also added an else statement to make sure the lexer doesn't get caught in an infinite loop when handling escaped characters.
        Patrick Corless made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Fix Version/s 5.0.0 alpha1 [ 10676 ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: