uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tong Fin" <tong....@gmail.com>
Subject Re: How to test a CollectionReader
Date Thu, 30 Aug 2007 16:28:48 GMT
The type "SourceDocumentInformation" is imported by
FileSystemCollectionReader as follows:

    <import name="org.apache.uima.examples.SourceDocumentInformation"/>

Please make sure that the "imported" XML file is in the classpath.

- Tong

On 8/30/07, Marshall Schor <msa@schor.com> wrote:
>
> Thanks, Roberto -
>
> I'm able to reproduce this and am investigating....
>
> -Marshall
>
> Roberto Franchini wrote:
> > On 8/30/07, Marshall Schor <msa@schor.com> wrote:
> >
> >> Hi Roberto -
> >>
> >> This might be caused by the Collection Reader Descriptor's type system
> >> missing the particular type
> >> "it.celi.types.SourceDocumentInformation";  can you verify it is
> defined
> >> (and spelled correctly, etc.) as part of this particular Collection
> >> Reader Descriptor?
> >>
> >> If this type was defined in another descriptor that is deployed with
> >> this collection reader, it would work when the whole CPE was run,
> >> because all the types from the various descriptors that make up the CPE
> >> pipeline are merged.
> >>
> >>
> >
> > I've tried to test the FileSystemCollectionReader provided in
> > uimaj-tools and I got the same error.
> > Attached (I hope it's possible to send attachements) the test I wrote.
> > Regards,
> > Roberto
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message