artefactual-labs / mets-reader-writer

Library to parse and create METS files, especially for Archivematica.
https://mets-reader-writer.readthedocs.io
GNU Affero General Public License v3.0
20 stars 13 forks source link

Decode xlink:href attributes when reading METS #51

Closed jrwdunham closed 6 years ago

jrwdunham commented 6 years ago

A previous commit introduced URL-encoding of xlink:href values when writing METS. This commit introduces the corresponding URL-decoding when reading METS. Also adds some simple tests to display and confirm expected behaviour.

Connected to archivematica/Issues#206