TIKA-4775 - saxify xmp#2946
Conversation
|
@dschmidt if you want to aim your agents at this, I'd appreciate feedback. I mean... all feedback is welcomed! 😄 |
|
This is what my agent says: |
|
This gets us Samsung/HEIC Support for Motion Photos afaict, quite nice! |
|
Doing some more work on this. Then I'll have my agent fix the above. Thank you! For a follow up ticket... Any recommendations/preferences on dealing with fractions vs decimals in image metadata? Should we normalize or just keep as strings to reflect how the data is stored in exif vs xmp? │ Tika key │ from XMP (verbatim │ from binary EXIF (metadata-extractor │ Agent summarizes the conflict: |
|
On the point about pdfbox core in the xmp module, I struggled with the right option. I did a bakeoff with 15k xmps, and pdfbox's date parser won over jempbox. We could copy/paste the date utils from pdfbox? Agent summarizes: @THausherr any recommendations? The issue is that we're adding a dependency on pdfbox to xmp-commons only for the date parser. It basically doesn't matter for tika-app or tika-server or grpc because they all bring in tika-parsers-standard which already has pdfbox. The only effect it has is on users who want to subselect a few of the standard parser modules that don't include pdf parsing. I'd guess this user base is tiny, but I don't know. |
This is a major refactoring of xmp parsing. This tries to unify how we handle xmp across the different container formats. I've tried to lessen our dependence on xmp-core, which still comes in through metadata-extractor. I've tried to unify xmp namespaces/keys for unknown xmp keys.