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

Ruta: problem with feature expressions of ambiguous types

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0ruta
    • Fix Version/s: 2.3.0ruta
    • Component/s: Ruta
    • Labels:
      None

      Description

      Ruta: problem with feature expressions of ambiguous types including complete namespaces, alias and variables:

      TYPESYSTEM TS1;// defines ts1.Token
      TYPESYSTEM TS2;// defined ts2.Token
      IMPORT ts1.Token FROM TS1 AS T1;
      DECLARE Target;
      TYPE T = ts1.Token;
      // these rules do not work:
      (ts1.Token{REGEXP(ts1.Token.pos.value, "X.*")}){-> MARK(Target)}; 
      (T{REGEXP(T.pos.value, "X.*")}){-> MARK(Target)}; 
      (T1{REGEXP(T1.pos.value, "X.*")}){-> MARK(Target)};
      

        Attachments

          Activity

            People

            • Assignee:
              pkluegl Peter Klügl
              Reporter:
              pkluegl Peter Klügl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: