Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fmt/1741: signatures with offsets that commence with ranges of wildcards #203

Closed
richardlehane opened this issue Sep 9, 2022 · 4 comments

Comments

@richardlehane
Copy link
Owner

richardlehane commented Sep 9, 2022

Signatures for this new format have min/max offsets 32768/70468 as well as a starting range {0-16}.

The PRONOM parser is incorrectly reading this as a min/max offset of 0/16.

Probably should resolve to min/max offsets of 32768/103252 [not 70484 as confusingly the PRONOM max offset value is relative to the offset value!]

@Dclipsham
Copy link

Ooh that's subtle. Needs fixing upstream for sure

@richardlehane
Copy link
Owner Author

sorry I meant siegfried's PRONOM parser!! The DROID report for this one looks OK

@Dclipsham
Copy link

I meant think the sig right now just needs tweaking. Without an anchor before the {0-16} its logically just saying Min offset 32768 max offset 70500 so no reason to combine signature constructs to achieve that I think

@richardlehane
Copy link
Owner Author

true :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants