Commit 6578812
committed
Handle indexed/structured lang-alt XMP properties
Extend XMP portable dump support for additional structured shapes: bounded indexed-structured properties and structured child lang-alt properties. Added parsing helpers (parse_indexed_structured_xmp_property_name, parse_structured_lang_alt_xmp_property_name, parse_indexed_structured_lang_alt_xmp_property_name), new Portable* structs to represent structured/lang-alt/indexed items, and claim maps + helpers to track ownership. Implemented emission routines to correctly serialize structured lang-alt children, structured groups, and indexed-structured groups preserving order and language qualifiers. Also register additional namespaces (plus, Iptc4xmpExt) when present in existing XMP and updated grouping/sorting logic and callers in dump_xmp_portable to collect and emit these new property shapes. Tests updated accordingly.1 parent b1d972a commit 6578812
5 files changed
Lines changed: 2118 additions & 77 deletions
File tree
- src
- include/openmeta
- openmeta
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| |||
0 commit comments