Is this FoLiA valid?
Both folialint and foliavalidator reject it (on different grounds)
<?xml version="1.0" encoding="UTF-8"?>
<FoLiA xmlns="http://ilk.uvt.nl/folia" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="WR-P-E-J-0000000001" version="2.5" generator="libfolia-v0.4">
<metadata>
<annotations>
<division-annotation annotator="ko" set="div"/>
<sentence-annotation annotator="ko" set="sent"/>
<text-annotation annotator="ko" set="aset"/>
<text-annotation annotator="iemand" set="bset"/>
</annotations>
</metadata>
<text xml:id="WR-P-E-J-0000000001.text">
<div xml:id="WR-P-E-J-0000000001.div0.1" class="test">
<t set="aset" class="a">Dit is test. zin 2.</t>
<t set="bset" class="a">Dit is test. zin 3.</t>
<s xml:id="WR-P-E-J-0000000001.head.1.s.1">
<t set="aset" class="a">Dit is test.</t>
<t set="bset" class="a">Dit is test.</t>
</s>
<s xml:id="WR-P-E-J-0000000001.head.1.s.2">
<t set="aset" class="a">zin 2.</t>
<t set="bset" class="a">zin 3.</t>
</s>
</div>
</text>
</FoLiA>
folialint says:
failed: inconsistent text: conflicting text (class=a) from node: t() with value
'Dit is test. zin 3.'
with parent: div(WR-P-E-J-0000000001.div0.1) which already has text in that class and value:
'Dit is test. zin 2.'
folivalidator:
VALIDATION ERROR on full parse by library (stage 2/3), in folia-bug.xml
ParseError: FoLiA exception in handling of <s> @ line 15 (in parent <div> @ parent line 12) : [NameError] name 'cls' is not defined
When I replace the class for the 'bset' by "b" in all the 3 cases, there is no problem
Is this FoLiA valid?
Both folialint and foliavalidator reject it (on different grounds)
folialint says:
folivalidator:
When I replace the class for the 'bset' by
"b"in all the 3 cases, there is no problem