Commit 06c0529
committed
Normalize and promote legacy Adobe XMP children
Add normalization and promotion for legacy Adobe structured XMP child prefixes and nested grandchild prefixes. Introduces helpers to recognize stRef/stDim/stJob/stFnt/stMfs/stVer/stEvt and xmpG components, map malformed Adobe child paths to canonical sType prefixes, and resolve existing structured/nested components to portable names. Treat xmpDM:Tracks as a Bag and canonicalize its structured children (e.g. trackName, markers/name) while avoiding duplicate promotion when explicit portable entries exist. Update xmp_dump header docs and add unit tests covering promotion of legacy prefixes and canonicalization of xmpDM Tracks.1 parent 035e517 commit 06c0529
5 files changed
Lines changed: 1253 additions & 63 deletions
File tree
- src
- include/openmeta
- openmeta
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| |||
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
124 | 130 | | |
125 | 131 | | |
126 | 132 | | |
| |||
0 commit comments