[ 
https://issues.apache.org/jira/browse/UIMA-6421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Eckart de Castilho resolved UIMA-6421.
----------------------------------------------
    Resolution: Fixed

> Can inject String value into StringArray slot
> ---------------------------------------------
>
>                 Key: UIMA-6421
>                 URL: https://issues.apache.org/jira/browse/UIMA-6421
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>            Priority: Major
>             Fix For: 3.3.0SDK
>
>
> Via the CAS API, it is possible to inject a {{String}} value into a 
> {{StringArray}} feature slot - probably into any other slot as well.
> * Define a type with a {{StringArray}} valued feature
> * Create an instance of the type using {{CAS.createAnnotation}}
> * Set a the feature value on the a annotation using 
> {{Annotation.setStringValue(...)}}
> * Try fetching the feature value using {{Annotation.getFeatureValue}}
> When setting a value on a slot, it should be checked if the value is suitable 
> for the slot.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to