dkpro / dkpro-cassis

UIMA CAS processing library written in Python
https://pypi.org/project/dkpro-cassis/
Apache License 2.0
85 stars 22 forks source link

Saving typesystem as xml does not have XML header #248

Closed jcklie closed 2 years ago

jcklie commented 2 years ago

Describe the bug Saving typesystem as xml does not have XML header.

To Reproduce

from cassis import *

with open('TypeSystem.xml', 'rb') as f:
    typesystem = load_typesystem(f)

typesystem.to_xml("foo.xml")
jcklie commented 2 years ago

Should be fixed now