You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Thilo Goetz (JIRA)" <ui...@incubator.apache.org> on 2007/01/09 19:09:27 UTC

[jira] Reopened: (UIMA-25) Implement better support for arrays of Feature Structures

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

Thilo Goetz reopened UIMA-25:
-----------------------------


Reverted changes as the true solution needs more work.  Defer till after 2.1 release.

> Implement better support for arrays of Feature Structures
> ---------------------------------------------------------
>
>                 Key: UIMA-25
>                 URL: https://issues.apache.org/jira/browse/UIMA-25
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>         Assigned To: Thilo Goetz
>
> The code for subsumes treats FSArray special:
>        // Yes, the code below is intentional. Until we actually support real
>         // arrays of some
>         // particular fs,
>         // we have FSArray is the supertype of xxxx[] AND
>         // xxx[] is the supertype of FSArray
>         // (this second relation because all we can generate are instances of
>         // FSArray
>         // and we must be able to assign them to xxx[] )
> This is illogical, and should be fixed somehow.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] Reopened: (UIMA-25) Implement better support for arrays of Feature Structures

Posted by Marshall Schor <ms...@schor.com>.
I'll add a test case for this.  It should pass with the code as is, but 
fail if the strange piece of code Thilo took out before is taken out again.

The test will be put in src/test/java/ 
org.apache.uima.cas.test.TypeSystemTest, in the method testArrayTypes().
You can see the last line now commented out on purpose for the strange 
work-around approach.

-Marshall