Re: Exception thrown during CAS serialization for Remote UIMA-AS Service

2012-06-14 Thread Jörn Kottmann
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:

Re: Exception thrown during CAS serialization for Remote UIMA-AS Service

2012-06-14 Thread Thomas Ginter
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.