Peter Klügl created UIMA-3670:
---------------------------------

             Summary: 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


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)

Reply via email to