HomeSoftware Heritage

deposit.parsers: Process namespace when using xmltodict.parse
f05480888a31Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

deposit.parsers: Process namespace when using xmltodict.parse

This keeps the existing behavior though by mapping the expanded name to simpler
namespaces.

This also fixes some test data sample which were not properly defining their
namespace.

This will allow to deal more properly the empty body case which is incomplete
right now.

Details

Provenance
ardumontAuthored on Sep 28 2020, 4:09 PM
ardumontPushed on Sep 28 2020, 5:56 PM
Parents
R65:87b39c10eea2: test_deposit_atom: Fix incomplete tests
Branches
Unknown
Tags
Unknown
References
tag: phabricator/diff/14362, tag: phabricator/base/14363

Event Timeline