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.

Reply via email to