move TEI idno identifiers under <analytics>#1193
Conversation
|
Hi Luca ! Thinking about it a second time, it might be more complicated than that and I think I understand the motivation for letting the identifiers under in the case of Grobid. If we extract a raw DOI from a PDF, the position of the DOI in normal TEI depends on the type of document we process, either under if this is a part of a monograph or journal, or under if we have a report, standalone article, etc. As we can't know for sure about the document type, it make sense to put it under in Grobid, to avoid errors, as a relaxed rule. Second, we have HAL ID which corresponds to standalone document, same for arXiv ID. We cannot put them under , but it does not make sense to put it under neither. is a valid default choice that explicitly capture the fact that we cant know the level of the document. The idea behind this is: when we don't know the level associated to a extracted ID, we explicitly put it under . @laurentromary for comments :) |
|
Note to myself: check how the DOI/ids are positioned in the case of consolidated header. We can have 2 different DOIs, one for the part and one for the "hosting" document. |
|
@laurentromary I'm revamping this PR and I'm wondering if you have any further comment. One option forward is to move identifier on conditions:
This has the disadvantage of being more difficult to parse and possibly taking years for downstream process to adapt. |
|
Oui, c'est le plus cohérent. Les rapports et les thèses sont effectivement des objets monographiques. Pour les preprint, c'est moins clairs, mais c'est mieux de rester dans le même cadre (comme tu le proposes). |
See #1192 . The same treatment is applied to any identifier: PMCID, PMID, halID, etc
See example: