- Implement recover_to_next_key function with byte-by-byte scanning for '/' and 'ID' keywords to enable error recovery in malformed headers - Fix test assertion: StructInvalidDictValue -> StructInvalidType - Fix ID whitespace validation test input (IDEI -> ID) - Fix markdown.rs test calls to include tables parameter - Add book_chapter fixture provenance entries All 14 inline_image tests pass, covering: - Basic header parsing with shorthand key expansion - Array filter chains - ID whitespace validation - Malformed header recovery Acceptance criteria: - PASS: BI /W 10 /H 10 /CS /DeviceGray /BPC 8 /F /ASCIIHexDecode ID parses - PASS: Shorthand expansion (/W -> /Width) yields width == 10 - PASS: Array filter /F [/ASCII85Decode /FlateDecode] parses - PASS: ID without trailing whitespace emits diagnostic - PASS: Malformed header (missing value) emits diagnostic and recovers Co-Authored-By: Claude Code <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| pdftract-cer-diff | ||
| pdftract-cli | ||
| pdftract-core | ||
| pdftract-libpdftract | ||
| pdftract-py | ||