You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 14, 2018. It is now read-only.
BOM is not recognized: xmllib.Error: Syntax error at line 1: illegal data at start of file.
OK, I can workaround it with ET.parse(codecs.open(r'D:\NLC\LexicalSpanAnnotator\TestData\test.xml', 'r', encoding = 'utf-8'))
Symbol with code 8233 brakes parsing: xmllib.Error: Syntax error at line 3: illegal character in content.
I also can do workaround it (load text and replace this symbol with 
 mnemonic, but it is not a good idea in general).
There are no empty line in the end and very strange message about it: xmllib.Error: Syntax error at line 4: data not in content
I've checked this file with ElementTree parser from Python 3.4 (sorry, no 2.7 installed) and with msxml-parser. Both have done this task OK.