Open kosloot opened 2 years ago
The main problem is, that libfolia (and supposedly also FoLiApy) doesn't have a provision for handling text with the same textclass from different sets. (as far as I know, the text-checking code NEVER takes sets into account)
I have no objection to require all text in a document to stem from one set only, but I assume that a better solution would be to amend the code, and take the set names seriously.
So we have some serious questions here:
<text-annotation>
in a document?
I suppose YES, (with different setnames, of course )<text-annotation>
, may there be the same class names in different sets?
I suppose YES tooBut this has great ramifications for the current code, which really has NO support for more then one text-annotation. e.g. functions like hastext() only look at the class name. And ALL checks for text consistency will fail when 2 sets are in sight. This is true for libfolia, at least. But I have NO indication that FoLiApy behaves any better.
For now, libfolia has some code added to prevent these problems. Only one text_annotation may be declared. It remains a wish to relax this limitation.
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