-
Notifications
You must be signed in to change notification settings - Fork 2
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
Implement Bitmask [&xx] [!&xx] syntax post DROID 5.x #9
Comments
Notes: Documented a little bit here: https://groups.google.com/forum/#!msg/droid-list/v4CHVddELaM/IhmBcN0Vk_oJ Not implemented in standard skeleton suite (problematic for testing (need to mock a PRONOM xml to implement and test (HFS is a good candiate)): https://github.com/exponential-decay/skeleton-test-suite-generator Implemented in container skeleton suite (should be some copy and paste code here we can use): exponential-decay/skeleton-container-test-suite-generator#1 |
@Dclipsham how does the PRONOM stored procedure deal with the bitmask signatures - have we used them outside of the container signature file yet? |
Hi Ross,
This identifies the HFS files available on the OPF Corpus. Is this enough information or do you need something further from the routine itself? David |
Hi @Dclipsham
That’s perfect. Shouldn’t need anything else, it was more a ‘before I implement this I should see if PRONOM is going to be able to do it’ thing. Otherwise it might mitigate the effort spent.
I should be able to test this with the sig-dev utility and the sample files 👍
Thanks!
… On 8 Nov 2017, at 04:25, David Clipsham ***@***.***> wrote:
Hi Ross,
To my knowledge we haven't previously, but I've tried it in DevTest and it handled it happily. Output from sig file is as follows:
<InternalSignature ID="1509" Specificity="Specific"> <ByteSequence Reference="BOFoffset"> <SubSequence MinFragLength="0" Position="1" SubSeqMaxOffset="1024" SubSeqMinOffset="1024"> <Sequence>4244</Sequence> <DefaultShift>3</DefaultShift> <Shift Byte="42">2</Shift> <Shift Byte="44">1</Shift> <RightFragment MaxOffset="12" MinOffset="12" Position="1">0003</RightFragment> <RightFragment MaxOffset="6" MinOffset="6" Position="2">[!&01]00</RightFragment> </SubSequence> </ByteSequence> </InternalSignature>
<FileFormat ID="1936" Name="HFS Test" PUID="fmt/1105"> <InternalSignatureID>1509</InternalSignatureID> <Extension>img</Extension> </FileFormat>
This identifies the HFS files available on the OPF Corpus. Is this enough information or do you need something further from the routine itself?
David
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@Dclipsham if bitmasked signatures enter the PRONOM canon would be great if at some point Technical Paper 1 could be updated to reflect. That document was a great resource for me & I'm sure for others - is really nice to have an exhaustive reference doc rather than rely on reverse engineering/ trial and error (though there is always going to be a bit of that too!) |
+1 Richard.
The technical paper is what I used to create the sigdev utility along with
the patterns seen in PRONOM/DROID files. All the syntax documentation on
the repository for that is directly from there.
Maybe the droid wiki could be opened up to something like this on GitHub? -
I would be happy to contribute.
…On Wed, Nov 8, 2017 at 11:00 AM, Richard Lehane ***@***.***> wrote:
@Dclipsham <https://github.com/dclipsham> if bitmasked signatures enter
the PRONOM canon would be great if at some point Technical Paper 1
<https://www.nationalarchives.gov.uk/aboutapps/fileformat/pdf/automatic_format_identification.pdf>
could be updated to reflect. That document was a great resource for me &
I'm sure for others - is really nice to have an exhaustive reference doc
rather than rely on reverse engineering/ trial and error (though there is
always going to be a bit of that too!)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AByxXDEFjzUalnCTUcXBt6MQK8IKFpFTks5s0NL3gaJpZM4QSoSJ>
.
|
See: openpreserve/fido#117
This will work for identifying HFS if we want to try it out:
The text was updated successfully, but these errors were encountered: