mirror of
https://github.com/qpdf/qpdf.git
synced 2024-05-31 09:20:52 +00:00
40f00122b8
QPDFObjectHandle::parseInternal now issues warnings instead of throwing exceptions for all error conditions that it finds (except internal logic errors) and has stronger recovery for things like invalid tokens and malformed dictionaries. This should improve qpdf's ability to recover from a wide range of broken files that currently cause it to fail.
10 lines
462 B
Plaintext
10 lines
462 B
Plaintext
WARNING: bad36.pdf (trailer, file position 764): unknown token while reading object; treating as string
|
|
WARNING: bad36.pdf (trailer, file position 715): expected dictionary key but found non-name object; inserting key /QPDFFake2
|
|
WARNING: bad36.pdf (trailer, file position 715): dictionary ended prematurely; using null as value for last key
|
|
/QTest is implicit
|
|
/QTest is direct and has type null (2)
|
|
/QTest is null
|
|
unparse: null
|
|
unparseResolved: null
|
|
test 0 done
|