premisrw couldn't handle access to attributes when the schema used the same attribute name in more than one element, e.g. startDate and endDate are values used multiple times under PREMISRights. This pull request solves the problem by introducing alternative keys qualified with the path to the value instead, e.g. foo__bar__start_date instead of start_date when there is a clash.
Also, added some missing role attributes to the PREMISRights schema.
premisrw couldn't handle access to attributes when the schema used the same attribute name in more than one element, e.g.
startDate
andendDate
are values used multiple times underPREMISRights
. This pull request solves the problem by introducing alternative keys qualified with the path to the value instead, e.g.foo__bar__start_date
instead ofstart_date
when there is a clash.Also, added some missing role attributes to the
PREMISRights
schema.Connects to https://github.com/archivematica/Issues/issues/446.