Closed matyaskopp closed 1 year ago
Corpora (tested only on samples) suffering with //*[@to < @from]
error:
ParlaMint-EE
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-07-18
ERROR : attribute to=2022-06-17 is before from=2022-09-12
ERROR : attribute to=2022-06-17 is before from=2022-07-19
ERROR : attribute to=2022-06-17 is before from=2022-07-19
ERROR : attribute to=2022-06-17 is before from=2022-07-19
ParlaMint-ES-CT
ERROR : attribute to=2021-05-16 is before from=2021-09-08
ERROR : attribute to=2021-05-16 is before from=2021-09-08
ERROR : attribute to=2021-05-16 is before from=2021-09-08
ERROR : attribute to=2021-05-16 is before from=2021-09-08
ParlaMint-GR
ERROR : attribute to=2019-07-15 is before from=2019-07-17
ERROR : attribute to=2019-07-15 is before from=2019-07-17
ERROR : attribute to=2019-07-15 is before from=2019-07-17
ERROR : attribute to=2019-07-15 is before from=2019-07-17
ParlaMint-HU
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2018-05-11 is before from=2018-05-18
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-05-25 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-05-25 is before from=2014-06-06
ERROR : attribute to=2014-06-01 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2018-05-11 is before from=2018-05-18
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-05-25 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-05-25 is before from=2014-06-06
ERROR : attribute to=2014-06-01 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ERROR : attribute to=2014-06-02 is before from=2014-06-06
ParlaMint-SE
ERROR : attribute to=2019-01-19 is before from=2019-01-21
ERROR : attribute to=2019-01-19 is before from=2019-01-21
ParlaMint-SI
ERROR : attribute to=2018-03-13 is before from=2018-09-13
ERROR : attribute to=2018-03-13 is before from=2018-09-13
ParlaMint-TR
ERROR : attribute to=2008-05-02 is before from=2014-07-11
ERROR : attribute to=2008-05-02 is before from=2014-07-11
ParlaMint-UA
ERROR : attribute to=2006-05-12 is before from=2006-05-25
ERROR : attribute to=2006-05-12 is before from=2006-05-25
ERROR : attribute to=2006-05-12 is before from=2006-05-25
ERROR : attribute to=2014-07-31 is before from=2016-04-27
ERROR : attribute to=2014-07-31 is before from=2016-04-27
ERROR : attribute to=2006-05-12 is before from=2006-05-25
ERROR : attribute to=2006-05-12 is before from=2006-05-25
ERROR : attribute to=2006-05-12 is before from=2006-05-25
ERROR : attribute to=2014-07-31 is before from=2016-04-27
ERROR : attribute to=2014-07-31 is before from=2016-04-27
Currently, there is no check of this situation
//*[@to < @from]
https://github.com/clarin-eric/ParlaMint/blob/c4325104afc95bb00826b840e80ff42dda512778/Data/ParlaMint-EE/ParlaMint-EE-listPerson.xml#L3316-L3319