[Poppler-bugs] [Bug 48679] "Error: Invalid XRef entry" messages for a valid PDF

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 16 23:52:32 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=48679

--- Comment #2 from thomasf <Thomas.Freitag at alfa.de> 2012-04-16 23:52:32 PDT ---
(In reply to comment #1)
> Wouldn't it be better just wrapping the
> error(errSyntaxError, -1, "Invalid XRef entry");
> with that new if? And call the if "complainAboutMissingEntry" ?

Possible, but I don't think it's really better: why is it necessary to rescan
the complete xref section when just looking if the current stream position
still belongs to that object? I think, that this scanning code comes due to the
fact that a "real" fetch to that object is done, and then try to localize that
"missing" object, which is not becessary in this case inmho.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list