pdftract/tests/fixtures/profiles
jedarden 4ac8479ad9 test(pdftract-1sxpa): complete inline image header parser implementation
- 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>
2026-05-27 22:18:09 -04:00
..
contract feat(pdftract-dtpwa): implement contract profile per Phase 7.10 schema 2026-05-24 07:10:32 -04:00
form fix: resolve compilation errors across codebase 2026-05-25 08:38:04 -04:00
legal_filing feat(pdftract-260a3): implement legal_filing profile with fixtures and tests 2026-05-27 21:44:49 -04:00
scientific_paper feat(pdftract-2vajs): implement slide_deck profile with fixtures and tests 2026-05-27 21:12:24 -04:00
slide_deck feat(pdftract-2vajs): implement slide_deck profile with fixtures and tests 2026-05-27 21:12:24 -04:00
PROVENANCE.md test(pdftract-1sxpa): complete inline image header parser implementation 2026-05-27 22:18:09 -04:00