pdftract/crates
jedarden 9889b96aca fix(bf-3gmkz): implement XrefResolver::resolve by using resolve_with_source
The XrefResolver::resolve method was a stub returning Null, causing
parse_catalog to fail with '/Root is not a dictionary (type: null)'.

Changes:
- Added source: Option<&dyn PdfSource> parameter to parse_catalog
- Uses resolve_with_source when source is Some, otherwise uses cache-only resolve
- Updated all callers (document.rs, extract.rs, CLI registry.rs) to pass source
- Tests continue to pass None and use cached objects

Fixes: bf-3gmkz

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 01:31:57 -04:00
..
pdftract-cer-diff docs(pdftract-aawrz): add LICENSE-MIT and LICENSE-APACHE files 2026-05-23 10:36:28 -04:00
pdftract-cli fix(bf-3gmkz): implement XrefResolver::resolve by using resolve_with_source 2026-05-26 01:31:57 -04:00
pdftract-core fix(bf-3gmkz): implement XrefResolver::resolve by using resolve_with_source 2026-05-26 01:31:57 -04:00
pdftract-libpdftract feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
pdftract-py feat(pdftract-3h9xo): implement threads JSON output + schema integration 2026-05-25 13:40:15 -04:00