Commit ebbe735
committed
Support XMP date aliases and portable property shapes
Add support for emitting XMP date aliases (xmp:ModifyDate / xmp:CreateDate) derived from EXIF tags and normalize EXIF date text when producing XMP portable output. Introduce PortablePropertyShape (Scalar/Indexed) and a claim map to track both owner and shape of portable properties, plus helpers to compute indexed container kinds and to collect generated portable keys. Add an ExifXmpAlias pass and refactor portable EXIF handling into reusable functions to avoid duplication. Update emission/canonicalization logic so managed standard namespaces are canonicalized only when a replacement is actually generated. Add/adjust unit tests to cover date aliases, canonicalization behavior, and indexed-vs-scalar shape precedence.1 parent 3fd06e5 commit ebbe735
4 files changed
Lines changed: 833 additions & 70 deletions
File tree
- src
- include/openmeta
- openmeta
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
0 commit comments