MI-DPLA / combine

Combine /kämˌbīn/ - Metadata Aggregator Platform
MIT License
26 stars 11 forks source link

xml2kvp: sibling_hash are unique across records, do not need to be #360

Closed ghukill closed 5 years ago

ghukill commented 5 years ago

sibling_hashs were introduced to faciliate the roundtripping between tabular data (CSV) and XML.

For example, the following 6-char alphanumerics indicate which of these are siblings:

 'mods|mods(0b4a20)___mods|location(b9af27)___mods|url(7d1c82)___@access=preview': 'http://digital.library.wayne.edu/item/wayne:Adventur1860b50081974/thumbnail',
 'mods|mods(0b4a20)___mods|location(b9af27)___mods|url(ac6147)___@usage=primary': 'http://digital.library.wayne.edu/item/wayne:Adventur1860b50081974',

But, applying these sibling hashes makes for columns that are unique to the point of not being workable. But, they don't need to be that unique.

Sequential numbering might help with this, as opposed to 6-char uuids?

ghukill commented 5 years ago

Closing - deemed to difficult to implement right now while maintaing roundtrip-ability of colums to XML.