folialint doesn't detect the spurious 'wat nu?' after the final \</text> and states that the file is valid FoLiA
foliavalidator DOES detect the problem:
Error on line 2: Element FoLiA has extra content: text
VALIDATION ERROR against RelaxNG schema (stage 1/3), in /home/sloot/Downloads/build.xml
Element FoLiA has extra content: text, line 2
When the 'wat nu?' is moved to the \</p> node, both programs complain, but the message from
folialint is quite cryptic:
XML error: Unable to append object of type _XmlText to a <text> (id=build1.text)
It would be nice to have a clearer message by folialint AND to detect it on the 'top' node too.
Given this simple file:
folialint doesn't detect the spurious 'wat nu?' after the final \</text> and states that the file is valid FoLiA
foliavalidator DOES detect the problem:
When the 'wat nu?' is moved to the \</p> node, both programs complain, but the message from folialint is quite cryptic:
It would be nice to have a clearer message by folialint AND to detect it on the 'top' node too.