You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reader: object generation number is dropped (xref keyed by object number only) #121
PdfIndirectReference carries only an object number, and the reader's xref is Dictionary<int, XrefEntry> (object number → entry), so a reference like 10 2 R resolves as generation 0. The whole MVP reader is generation-agnostic.
In practice PDF/A documents are virtually all generation 0, and VellumPdf's own output is, so this does not affect the conformance validator's current targets. But a third-party PDF that reuses an object number across incremental updates with different generations would resolve to the wrong revision.
Properly fixing this means keying the xref on (objNum, gen) and threading generation through PdfIndirectReference/resolution — a structural reader change that belongs with the v2.1 "full structural reader" milestone rather than the conformance work.
Activity
fix(reader): honour object generation numbers on resolve (#121)
fix(reader): stop dropping the generation the parser just read (#121)
fix(reader): carry generation through the write path too (#121)
docs(reader): note the freed-tracking recovery-behaviour trade-off (#121
fix(tests): pin SigningTime in the PrepareForSigning determinism test
fix(reader): cap generation at the ISO 65535 ceiling, not int range (#…
docs(changelog): split the #121 Fixed bullet into one change per bullet
fix(reader): honour object generation numbers end to end (#192)
docs(kernel): move the two output-affecting bullets under Changed
fix(kernel): three encryption defects blocking the PDF/UA-1 permissio…
docs(reader): describe the hybrid hiding arrangement as the spec does (…
test(reader): add a third-party PDF fixture corpus (#205)
docs: release 2.1.0 — decryption on read, and the docs that describe …
fix(reader): honour object generation numbers end to end (#192)
fix(kernel): three encryption defects blocking the PDF/UA-1 permissio…
docs(reader): describe the hybrid hiding arrangement as the spec does (…
test(reader): add a third-party PDF fixture corpus (#205)
docs: release 2.1.0 — decryption on read, and the docs that describe …
fix(reader): honour object generation numbers end to end (#192)
fix(kernel): three encryption defects blocking the PDF/UA-1 permissio…
docs(reader): describe the hybrid hiding arrangement as the spec does (…
test(reader): add a third-party PDF fixture corpus (#205)
docs: release 2.1.0 — decryption on read, and the docs that describe …