Open proycon opened 6 years ago
(Resolution needed for completion of INL/nederlab-linguistic-enrichment#12)
Ok, the error is detected when parsing the wref node, and before appending it to the layer. So the textclass of the layer is yet unknown. ( It uses the textclass of the referenced Word, which is wrong indeed) Probably the check has to be postponed to the post_append() method?
A good solution is not easy. For the moment, this check is disabled.
The check is disabled. But should ideally be performed at some stage. So it keep the issue as an enhancement.
folialint
breaks on the following document with error (foliavalidator
does not complain):It should look in the right
textclass
, which is explicitly specified at the entity level.'Minimal' FoLiA example (http://lst.science.ru.nl/~proycon/issue52.folia.xml):