Closed oktaal closed 8 months ago
Nice one, thanks, merged now!
I think the provided test contains invalid, or al least questionable FoLiA. folialint doesn't accept it:
XML error: Expecting element metadata, got 'text'
imho it is correct to reject?
Additional note: This example inspired me to extend the handling of XML comment in libfolia a bit. The (fixed) example files will be handled by libfolia, preserving all comment. NOT completely preserving the order though. (which libfolia never did)
I think the provided test contains invalid, or al least questionable FoLiA. folialint doesn't accept it:
XML error: Expecting element metadata, got 'text'
Yeah, you're right, there should be
Yes the file had this structure and was a bit weird. The document only contained a list of words, so in the end it wasn't really that useful to parse anyway.
Hi! I've encountered a small bug where a comment directly after the
<FoLiA>
-tag caused a parsing error.