[
https://issues.apache.org/jira/browse/UIMA-3920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Klügl resolved UIMA-3920.
-------------------------------
Resolution: Fixed
fixed and added test
> Ruta: problem with feature expressions of ambiguous types
> ---------------------------------------------------------
>
> Key: UIMA-3920
> URL: https://issues.apache.org/jira/browse/UIMA-3920
> Project: UIMA
> Issue Type: Bug
> Components: ruta
> Affects Versions: 2.2.0ruta
> Reporter: Peter Klügl
> Assignee: Peter Klügl
> Fix For: 2.2.2ruta
>
>
> Ruta: problem with feature expressions of ambiguous types including complete
> namespaces, alias and variables:
> {noformat}
> 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)};
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)