uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Kaplan (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Created: (UIMA-619) Wrong error message when loading type system
Date Wed, 07 Nov 2007 12:17:50 GMT
Wrong error message when loading type system
--------------------------------------------

                 Key: UIMA-619
                 URL: https://issues.apache.org/jira/browse/UIMA-619
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
    Affects Versions: 2.2
            Reporter: Aaron Kaplan
            Priority: Minor


If I try to load the following type system definition

<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
  <name>InfomagicTypeSystem</name>
  <types>
    <typeDescription>
      <name>Foo</name>
      <supertypeName>Bar</supertypeName>
    </typeDescription>
    <typeDescription>
      <name>Bar</name>
      <supertypeName>Baz</supertypeName>
    </typeDescription>
  </types>
</typeSystemDescription>  

I get the error message 'Undefined type "Bar", referenced as supertype of type "Foo"'.  This
is misleading, because Bar *is* defined.  The real problem is that Baz is undefined.

This is order-dependent: if I define Bar before Foo, then I get the appropriate message about
Baz being undefined.


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