pdftract/crates/pdftract-cli
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
..
benches feat(pdftract-3h9xo): implement threads JSON output + schema integration 2026-05-25 13:40:15 -04:00
src fix(bf-3gmkz): implement XrefResolver::resolve by using resolve_with_source 2026-05-26 01:31:57 -04:00
tests feat(pdftract-3h9xo): implement threads JSON output + schema integration 2026-05-25 13:40:15 -04:00
build.rs docs(pdftract-32y9): finalize SDK architecture note with workspace layout, cross-compile matrix, and KU-12 alignment 2026-05-24 06:38:23 -04:00
Cargo.toml feat(pdftract-4z362): implement inspector API endpoints 2026-05-25 12:56:01 -04:00
pdftract-cli.cdx.json feat(pdftract-67tm8): implement MCP stdio transport with integration tests 2026-05-23 00:16:42 -04:00