droid icon indicating copy to clipboard operation
droid copied to clipboard

EXTENSION_MISMATCH doesn't seem to make sense for files with multiple IDs

Open ross-spencer opened this issue 8 years ago • 2 comments

Example:

image

fmt/99 for example has .html associated with it. Whereas it isn't associated with x-fmt/394 as one would expect.

Suggest that the result either be 'FALSE' or that EXTENSION_MISMATCH is a repeated field for the remainder of the format ID fields.

As an interface change, this might not be a desirable thing to fix using the latter option in a v6 release.

Sample file from GovDocs select available from the OPF website.

ross-spencer avatar Apr 20 '16 03:04 ross-spencer

I wouldn't agree with making it "False" - extension mismatches would normally be the exception so we would want to highlight such cases in outputs and filtering even where there was another identification without a mismatch. If it was a repeated field for each identification then the filter would still need to make a choice between True or False for each file if it were to remain Boolean based. However, we could consider moving (or adding) it to the pop up box that appears listing all the identifications for the file when the user clicks the 'Ids' column link.

Brian-O-TNA avatar May 04 '16 10:05 Brian-O-TNA

Which ever way makes the plurality of an 'Extension' mismatch for multiple IDs would be an improvement.

Not sure what you mean about pop-up box - I think it important to differentiate between the machine readable output (CSV) and the UI which is impenetrable to the systems that process it.

ross-spencer avatar May 04 '16 22:05 ross-spencer