Re: Subtyping uima.cas.String

2007-09-21 Thread Adam Lally
On 9/21/07, Thomas Francart [EMAIL PROTECTED] wrote: I want to define my own feature type by subtyping uima.cas.String; this feature is called anyURI, and is meant, well, to store URI (which are strings with special formatting constraints). So I have 1/ the type anyURI declared in my type

Subtyping uima.cas.String

2007-09-21 Thread Thomas Francart
Hi - thanks for your previous answers I want to define my own feature type by subtyping uima.cas.String; this feature is called "anyURI", and is meant, well, to store URI (which are strings with special formatting constraints). So I have 1/ the type "anyURI" declar

Re: subtyping uima.cas.String

2007-06-11 Thread Philip Ogren
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

Re: subtyping uima.cas.String

2007-06-11 Thread Philip Ogren
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