ckanext-spatial icon indicating copy to clipboard operation
ckanext-spatial copied to clipboard

Handle MI_Metadata from CSW record XML

Open benjwadams opened this issue 6 years ago • 1 comments

Handles MI_Metadata elements returned from CSW XML records, rather than returning None and causing an error later. Raises an exception when neither MD_Metadata nor MI_Metadata are found. Also sets encoding argument to 'unicode' rather than unicode (type), so that Python 3 does not break.

benjwadams avatar Nov 30 '18 19:11 benjwadams

This looks good. I'll wait until the tests are fixed on master to double check is not breaking anything and I'll merge it.

amercader avatar Mar 15 '19 14:03 amercader