When running foliavalidator on this file we get:
ParseError: FoLiA exception in handling of <s> @ line 10 (in parent <text> @ parent line 9) : [DeclarationError] Encountered an instance without proper declaration: Sentence <s>!
With de `-a' option, the document is accepted and an (empty) annotation is added:
<sentence-annotation/>
folialint happily accepts this an just ignores the problem.
We would need folialint to warn, AND probably add something like the -a option too.
NOTE:
when leaving out the text-annotation declaration too, libfolia DOES an autodeclare of that.
consider this document:
When running foliavalidator on this file we get:
ParseError: FoLiA exception in handling of <s> @ line 10 (in parent <text> @ parent line 9) : [DeclarationError] Encountered an instance without proper declaration: Sentence <s>!
With de `-a' option, the document is accepted and an (empty) annotation is added:
folialint happily accepts this an just ignores the problem. We would need folialint to warn, AND probably add something like the
-a
option too.NOTE: when leaving out the text-annotation declaration too, libfolia DOES an autodeclare of that.