I just checked the code for setting Strings using JCas, and it seems you've stumbled onto a bug ...
The generated JCas code uses low level string access APIs into the CAS and those do not include the
invalid-range checking for strings with allowed types.

We'll put in a defect to fix this in an upcoming release (probably on Apache).

Can you work around this for now?

-Marshall
Thank you very much for this check. Currently, we can work around this, but this feature is really nice to have. We have designed our type system with restricted types where it is possible in order to have an further control about the annotation.

Best

E. Buyko

--

Ekaterina Buyko
Jena University Language and Information Engineering (JULIE) Lab
Phone: +49-3641-944322
Fax:   +49-3641-944321
email: [EMAIL PROTECTED]
URL:   http://www.coling.uni-jena.de


Reply via email to