Bug #1623

Updated by Matthieu Decorde over 4 years ago

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

h3. Solution 0: manual

remove milestone structures from the CQP registry file

h3. 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)
do errors)
* detect milestones before creating indexes (parse XML files)

* detect milestones after creating the indexes (*.rng files size is 0)

h3. Solution 2

Fix CQP for Windows build