Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-1266

AnalysisEngineMetaData.getTypeSystem() returns null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.2
    • 2.3
    • Core Java Framework
    • None

    Description

      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.

      Attachments

        Activity

          People

            twgoetz Thilo Goetz
            aaronkaplan Aaron Kaplan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: