RCP: 0.7.8, Milestones declared in CQP registry file
With Windows, CQI.AttributeSize() is broken when used with milestone structures.
CQI.AttributeSize is used to test if an annotation already exists in a CQP corpus.
warning: check what happen with structure with no attribute
Solution 0: manual
remove milestone structures from the CQP registry file
Solution: automatic
don’t index milestones and don’t declare them in the CQP registry file.
Either :
- user must declare milestones in the import form (but users might make mistakes)
- detect milestones before creating indexes (parse XML files)
- detect milestones after creating the indexes (*.rng files size is 0)
Solution 2
Fix CQP for Windows build
(from redmine: issue id 1623, created on 2015/12/14 by Matthieu Decorde)