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 2009/08/04 14:52:14 UTC

[jira] Closed: (UIMA-1266) AnalysisEngineMetaData.getTypeSystem() returns null

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

Thilo Goetz closed UIMA-1266.
-----------------------------

    Resolution: Fixed

Added information to the javadoc.  There is no sensible return value other than null, as aggregation of the delegate type systems has not happened yet.  Remember that this is at the descriptor level, not the analysis engine level.

> AnalysisEngineMetaData.getTypeSystem() returns null
> ---------------------------------------------------
>
>                 Key: UIMA-1266
>                 URL: https://issues.apache.org/jira/browse/UIMA-1266
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.2.2
>            Reporter: Aaron Kaplan
>            Assignee: Thilo Goetz
>             Fix For: 2.3
>
>
> When "in" is an XMLInputSource for an analysis engine descriptor, the following returns null if it's an aggregate AE:
> UIMAFramework.
> 			getXMLParser().
> 			parseAnalysisEngineDescription(in).
> 			getAnalysisEngineMetaData().
>                         getTypeSystem()
> Though I understand the reason for this (an aggregate AE's type system is just the union of its delegates' type systems, and isn't described explicitly in the aggregate descriptor), it would be more convenient if it worked for aggregates too.
> At the least, the documentation should reflect this limitation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.