Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-6421

Can inject String value into StringArray slot

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0SDK
    • Core Java Framework
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rec Richard Eckart de Castilho
            rec Richard Eckart de Castilho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment