You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (JIRA)" <de...@uima.apache.org> on 2014/03/08 19:04:42 UTC
[jira] [Reopened] (UIMA-3670) Ruta action SETFEATURE does not work
with feature expressions
[ https://issues.apache.org/jira/browse/UIMA-3670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Klügl reopened UIMA-3670:
-------------------------------
copy/paste error -> tests fail
> Ruta action SETFEATURE does not work with feature expressions
> -------------------------------------------------------------
>
> Key: UIMA-3670
> URL: https://issues.apache.org/jira/browse/UIMA-3670
> Project: UIMA
> Issue Type: Bug
> Components: ruta
> Affects Versions: 2.1.0ruta
> Reporter: Peter Klügl
> Assignee: Peter Klügl
> Fix For: 2.2.0ruta
>
>
> Ruta action SETFEATURE does not work with feature expressions:
> {noformat}
> DECLARE Annotation X (STRING s);
> DECLARE X C;
> DECLARE X B (C c);
> DECLARE X A (B b);
> W{-> CREATE(C, "s" = "c")};
> W{-> CREATE(B, "c" = C, "s" = "b")};
> W{-> CREATE(A, "b" = B, "s" = "a")};
> A{-> SETFEATURE("s", A.b.c.s)};
> {noformat}
> Feature s of annotation matched by type A is not set to "c". This is cuased by the misinterpretation of the feature expression as a number expression, I think.
--
This message was sent by Atlassian JIRA
(v6.2#6252)