>> To get the PDF extractor working, can't you
>> change the default view somehow, so that
>> CAS.getDocumentText() will retrieve the extracted
>> text?  I thought that was possible to make
>> non-Sofa aware annotators work with Sofa-aware
>> ones.  However, not sure.
>
> How would that work? Would I change the default view in the PDF Extractor java
> source code? (Can you even do that?) But wouldn't that be bad coding practice?

As I understand it, your aggregate has two delegates: the first is
sofa aware, reads the input data from the _InitialView and creates a
new view called plainText; the second delegate is sofa unaware and
expects to get the plainText view passed to it.

This all works fine when run from CVD. When run from SimpleServer,
processing crashes trying to access plainText. Presumably this is
happening when the second delegate is being called. This could happen
if for some reason sofamapping is broken when running under
SimpleServer.

It would be useful to:
1. know that the 1st delegate is running ok, and the problem is on the 2nd
2. dumping the Cas contents after calling the first delegate to see
exactly what is in there. This can be done by putting XmiSerialization
code at the end of the 1st delegate.

Eddie

Reply via email to