Fixed in Apache version with https://issues.apache.org/jira/browse/UIMA-128
--Thilo
Ekaterina Buyko wrote:
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