Closed jcklie closed 1 year ago
@reckart I think that we fixed that in dkpro
I added support for XML 1.1 to the DKPro Core XmiWriter, but I don't think we use the XmiWriter in the external recommender. I expect we use similar code and the code in the external recommender should be adjusted in the same way as the DKPro Core code.
Describe the bug External recommender fails when CAS contains control characters.
To Reproduce Steps to reproduce the behavior:
Expected behavior No error and nice predictions.
Screenshots `Caused by: org.xml.sax.SAXParseException: Trying to serialize non-XML 1.0 character: 0x14 at offset 975 in string starting with 毛主席语录
Fix
Do the same as in https://github.com/dkpro/dkpro-core/pull/1426