uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Klügl (JIRA) <...@uima.apache.org>
Subject [jira] [Closed] (UIMA-3670) Ruta action SETFEATURE does not work with feature expressions
Date Sat, 08 Mar 2014 12:42:50 GMT

     [ https://issues.apache.org/jira/browse/UIMA-3670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Peter Klügl closed UIMA-3670.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0ruta

fixed

> 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)

Mime
View raw message