You write a string to the CAS which contains a non-xml character.
This character cannot be serialized into XMI, and thats what this
exception is about.
Have a look at our documentation explaining the issue:
Jorn,
Thanks for the link to that section of documentation. The mention of the
XMLUtils class was just what I needed. I wrote an XmlFilter class that uses
XMLUtils to detect invalid XML characters and replace them with spaces so that
our annotation offsets will still match the original text.
My UIMA-AS 2.3.1 service is returning the CollectionProcessComplete event while
there are still CAS objects outstanding. The client log shows:
INFO: Client in CollecitonProcessComplete - OutstandingCasCount=2
TotalCasRequestsSentBetweenCpCs=
I always seem to end up losing 2 CAS objects