Filename recovery: keep dotted candidate strings (resolve content.xml) #11

Closed
opened 2026-11-26 20:55:40 +00:00 by github-bot · 0 comments
Owner

@⁠nineforge0 on GitHub · 2026-11-25 03:07 UTC · original

catalog recovers an entry name when joaat(candidate) matches the TOC name-hash column. The candidate string scan splits on ., so a name like content.xml (whose hash is of the full dotted string) is never tried, and the entry stays unresolved even though the string is present.

Task: in the string scan used by catalog/harvest, also emit dotted identifier runs (e.g. content.xml) as candidates, in addition to the split tokens. Add a synthetic-byte test: an entry whose name hash equals joaat("content.xml") resolves when that string is present. Keep existing behavior for non-dotted names.

**@⁠nineforge0** on GitHub · 2026-11-25 03:07 UTC · [original](https://github.com/nineforge0/forge9/issues/11) `catalog` recovers an entry name when `joaat(candidate)` matches the TOC name-hash column. The candidate string scan splits on `.`, so a name like `content.xml` (whose hash is of the full dotted string) is never tried, and the entry stays unresolved even though the string is present. Task: in the string scan used by `catalog`/`harvest`, also emit dotted identifier runs (e.g. `content.xml`) as candidates, in addition to the split tokens. Add a synthetic-byte test: an entry whose name hash equals `joaat("content.xml")` resolves when that string is present. Keep existing behavior for non-dotted names.
github-bot 2026-11-26 20:55:40 +00:00
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:55:40 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.