eeditiones / tei-publisher-app

The main TEI Publisher app
https://teipublisher.com
GNU General Public License v3.0
68 stars 33 forks source link

Invalid @when attribute in the generated annotation entry for the register #226

Open daliboris opened 7 months ago

daliboris commented 7 months ago

In the function rapi:prepare-entry, the new element is modified by adding two attributes (@resp and @when), for example:

attribute when {format-date(current-date(), '[Y]-[M,2]-[D,2]')}

The @when attribute is not valid for <person> and <place> elements in the current version of TEI Guidlines.

A more appropriate and available attribute in this case is @change, which must point to the description in teiHeader,

I know it's more verbose and complicated, but valid.