wlpotter / csv-to-srophe

A set of XQuery modules for converting CSV data to Srophe-compliant TEI XML records. Developed for Syriaca.org
GNU General Public License v3.0
1 stars 1 forks source link

Floruit in persons throwing validation error with `@notBefore` and `@notAfter` attributes #58

Closed wlpotter closed 9 months ago

wlpotter commented 10 months ago

This may be related to #57 (i.e., the error may be because the element is not in order), but currently am receiving the following validation error on this code:

<floruit source="#bib2538-2" notBefore="0500" notAfter="0550">early 6th century</floruit>

found attribute "source", but not attributes allowed here

(similar errors for the other attributes). Raise as a question

wlpotter commented 10 months ago

@dlschwartz I'm getting a validation error on the above floruit element and might just be forgetting what change we made. I think there might also be element ordering errors (cf. #57 ), but this one seemed separate from that?

For reference, it is this line of code

dlschwartz commented 10 months ago

Try: <floruit><date notBefore="0500" notAfter="0550" source="#bib2538-2">early 6th century</date></floruit>

wlpotter commented 9 months ago

This worked for me against the schema -- thanks! Will update in the transform.

wlpotter commented 9 months ago

Fixed