dkpro / dkpro-pycas

Library for working with UIMA CAS XMI files in Python. This library is deprecated. Use DKPro Cassis instead!
https://github.com/dkpro/dkpro-cassis
Apache License 2.0
3 stars 3 forks source link

XmiWriter fails when sentence contains XML entities #6

Closed jcklie closed 6 years ago

jcklie commented 6 years ago

The XmiWriter does not produce valid XML when the CAS contained unescaped XML entities, e.g. <, >, &. They need to be escaped when generating the XML string.