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

Only types from the declared typesystems should be available in RUTA scripts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0ruta
    • 2.2.0ruta
    • Ruta
    • None

    Description

      RUTA makes all types that are known to the CAS available by their short name. This means that a type may be available when the script runs in one aggregate but not when it runs in the other.

      For example, the following script will sometimes work and sometimes not work depending if the aggregate in which it is executed knows about a type with short name MyType or not:

      PACKAGE com.example.ruta;
      
      W{->MARK(MyType)};
      

      I would expect only types from the typesystems declared in the RUTA script to be allowed.

      Attachments

        Activity

          People

            apatry Alexandre Patry
            apatry Alexandre Patry
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: