We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
given this FoLiA file:
<?xml version="1.0" encoding="UTF-8"?> <FoLiA xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://ilk.uvt.nl/folia" xml:id="bugxx" generator="libfolia-v1.11" version="2.5"> <metadata type="native"> <annotations> <text-annotation set="https://raw.githubusercontent.com/proycon/folia/master/setdefinitions/text.foliaset.ttl"/> <division-annotation/> <paragraph-annotation/> <sentence-annotation/> <hyphenation-annotation/> <token-annotation/> </annotations> </metadata> <text xml:id="bug"> <div xml:id="bug.text.1.div"> <p xml:id="bug.text.1.div.p"> <s xml:id="bug.text.1.div.p.s"> <w xml:id="bug.text.1.div.p.s.w.4"> <t><t-hbr>-</t-hbr></t> </w> </s> </p> </div> </text> </FoLiA>
folialint rejects this:
$ folialint tests/bugxx.xml tests/bugxx.xml failed: tests/bugxx.xml: attempt to add an empty <t> to word: bug.text.1.div.p.s.w.4
foliavalidator accepts it:
$ foliavalidator tests/bugxx.xml Validated successfully: tests/bugxx.xml
I assume libfolia is mistakenly interpreting the <t-hbr>-<t-hbr/> as "empty" The same problem also pops up for just <t-hbr/>
<t-hbr>-<t-hbr/>
<t-hbr/>
The text was updated successfully, but these errors were encountered:
cb6b053
less naive solution for #52
56d4a34
proycon
kosloot
No branches or pull requests
given this FoLiA file:
folialint rejects this:
foliavalidator accepts it:
I assume libfolia is mistakenly interpreting the
<t-hbr>-<t-hbr/>
as "empty"The same problem also pops up for just
<t-hbr/>
The text was updated successfully, but these errors were encountered: