HomeSoftware Heritage

swh.deposit.parsers: Simplify current xml parsing

Description

swh.deposit.parsers: Simplify current xml parsing

This takes care of current limitations:

  • duplicated elements are stored as list (and no longer dropped)
  • drop extra namespace in key names
  • it's generic

Close T1131

Details

Provenance
ardumontAuthored on Jul 6 2018, 12:31 PM
ardumontPushed on Jul 6 2018, 3:09 PM
Differential Revision
D353: swh.deposit.parsers: Do not lose information during parsing
Parents
rDDEPe989e3b18847: swh.deposit.parsers: Update docstring
Branches
Unknown
Tags
Unknown
References
tag: v0.0.53
Tasks
T1131: Fix the deposit XML parser to have multiple authors in json output