Skip to content

text offset in morphemes is not checked? #18

@kosloot

Description

@kosloot

I added a new variant for Arabic to the examples: arabic.2.2.1.folia.xml with offset information everywhere.

Both folialint and foliavalidator accept this file. NICE!

BUT: when I replace the offset in the first morpheme by some way-off value like 666, it is still accepted bij foliavalidator. This is odd.

folialint states:

> folialint arabic.2.2.1.folia.xml 
arabic.2.2.1.folia.xml failed: Unresolvable text: Text for morpheme(ID=, textclass='current'), has incorrect offset 666
	original msg=Unresolvable text: Reference (ID Xar.p.1.s.1.w.1,class='current') found, but no text match at offset=666 Expected 'اسم' but got ''

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions