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 has been 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.
The text was updated successfully, but these errors were encountered:
To be a bit more detailed: The ElementTree implementation was patched to use xmllib instead of pyexpat as underlying XML parser. xmllib has been deprecated with Python2.0, but it is a pure Python implementation, which makes integration into IronPython much easier.
Hello.
There are 3 issues with this file.
Code to reproduce:
OK, I can workaround it with
ET.parse(codecs.open(r'D:\NLC\LexicalSpanAnnotator\TestData\test.xml', 'r', encoding = 'utf-8'))
I also can do workaround it (load text and replace this symbol with 
 mnemonic, but it is not a good idea in general).
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.
The text was updated successfully, but these errors were encountered: