Sorry for the noise! A little investigation reveals that this behavior is almost certainly by design. Changing the source by hand gives an error message that says "don't do that" and section 2.3.4 also of the UIMA References also documents this.

Philip Ogren wrote:
Attached is a type system descriptor file that isolates the "bug". I cannot create a subtype of TestType in the CDE.
Philip Ogren wrote:
I was just putting some unit tests together and was editing a type system and noticed that I can't seem to subtype a type that is a subtype of uima.cas.String in the CDE. I thought this was maybe a bug that I should bring attention to. For my part, I'm not concerned with the ability to create nested subtypes of uima.cas.String - so apologies if this is noise.
------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier";>
<name>TestTypeSystem</name>
<description></description>
<version>1.0</version>
<vendor></vendor>
<types>
<typeDescription>
<name>TestType</name>
<description/>
<supertypeName>uima.cas.String</supertypeName>
</typeDescription>
<typeDescription>
<name>TestType2</name>
<description/>
<supertypeName>uima.tcas.Annotation</supertypeName>
</typeDescription>
<typeDescription>
<name>TestType3</name>
<description/>
<supertypeName>TestType2</supertypeName>
</typeDescription>
</types>
</typeSystemDescription>
------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.13/843 - Release Date: 6/10/2007 1:39 PM

Reply via email to