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

Ruta: problem with feature expressions of ambiguous types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0ruta
    • 2.3.0ruta
    • Ruta
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: