Oops. Let me look into that.
--Thilo
Marshall Schor (JIRA) wrote:
ll_setStringValue not checking if feature range is subtype of String with
Allowed Values, not doing Allowed Value check
-----------------------------------------------------------------------------------------------------------------------
Key: UIMA-128
URL: http://issues.apache.org/jira/browse/UIMA-128
Project: UIMA
Issue Type: Bug
Components: Core Java Framework
Affects Versions: 2.1
Reporter: Marshall Schor
Priority: Minor
The JCas code generated for setting string values uses the ll_setStringValue
method in the CASImpl. This method does not check if the type of the feature
being set is a *subtype* of String with allowed values, and doesn't throw the
needed exception if the item being set is not in the set of allowed values.