Closed Midi77 closed 4 years ago
Hmm, some very old FoLIA documents might perhaps not explicitly indicate their version, perhaps the library needs to make a guess then instead of giving an error. If you can edit the input document, then the quickest way to circumvent this for now is probably to add a version attribute to your FoLiA (root) element, and give it an old value of for example "0.8":
<FoLiA version="0.8">
This issue should be solved now in foliapy 2.2.5 which I just released
When trying to read in this Folia xml doc I get the error: "Exception: FoLiA Document has no version!" I'm using python 3.7.