core icon indicating copy to clipboard operation
core copied to clipboard

Test pageId clashes across fileGrps for cached METS

Open kba opened this issue 2 years ago • 2 comments

          Note: we should also add test coverage for this. AFAICS, we need a cached `add_file` under the circumstance that a file for that page already exists, but in a different fileGrp.

Originally posted by @bertsky in https://github.com/OCR-D/core/issues/1195#issuecomment-1973882852

kba avatar Mar 05 '24 13:03 kba

Simplest test I know of so far is still binarization.

bertsky avatar Mar 07 '24 13:03 bertsky

(And for some reason xmlstarlet val does not pick up the duplicate @ID problem, only xmllint does.)

bertsky avatar Mar 07 '24 13:03 bertsky