Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2
-
None
Description
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.