uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilo Goetz (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Closed: (UIMA-1266) AnalysisEngineMetaData.getTypeSystem() returns null
Date Tue, 04 Aug 2009 12:52:14 GMT

     [ 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.


Mime
View raw message