-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
consider this very strange 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="doc" generator="libfolia-v1.11" version="2.2">
<metadata type="native">
<annotations>
<correction-annotation />
<text-annotation />
<pos-annotation set="bla"/>
<paragraph-annotation />
</annotations>
</metadata>
<text xml:id="bug">
<correction>
<new>
<p xml:id="p">
<t>paragraaf</t>
</p>
</new>
<original>
<pos xml:id="s" class="n">
</pos>
</original>
</correction>
</text>
</FoLiA>Both foliavalidator and folialint accept this, but I assume this is abusing the correction node.
My impression is, that we don't want a correction to modify the "type" of the subnode.
So i suggest to add some limitation here. preferable that all arguments are of the same type.
Like all <w> or all <t>
Reactions are currently unavailable