Apparently this was not a problem with the MHK importing algorithm, that uses the first, and relevant,
date, but the Python algorithm overwrites the first date with the date from the act.
The problem should not exist. The date of the attribute is the explicit date if present, if not the enclosing
act date, or whatever date is set at a higher scope.
Data exported in xml contains for attributes contains two dates: the explicit date of the attribute and the date of the enclosing act:
Apparently this was not a problem with the MHK importing algorithm, that uses the first, and relevant, date, but the Python algorithm overwrites the first date with the date from the act.
The problem should not exist. The date of the attribute is the explicit date if present, if not the enclosing act date, or whatever date is set at a higher scope.