Getting "Document is empty, line 1, column 1" on totally valid xml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
New
|
Undecided
|
Unassigned |
Bug Description
Getting subj while parsing file (with [python libxml latest 3.3.0beta3, 3.3.0beta5) available on url: (an attached)
http://
[2014-01-30 11:24:29,347] ERROR: Unhandled error during yml parsing Document is empty, line 1, column 1 Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/home/
for event, elem in ElementTree.
File "iterparse.pxi", line 179, in lxml.etree.
XMLSyntaxError: Document is empty, line 1, column 1
>>> print("%-20s: %s" % ('Python', sys.version_info))
Python : sys.version_
>>> print("%-20s: %s" % ('lxml.etree', etree.LXML_
lxml.etree : (3, 3, 0, -95)
>>> print("%-20s: %s" % ('libxml used', etree.LIBXML_
libxml used : (2, 7, 8)
>>> print("%-20s: %s" % ('libxml compiled', etree.LIBXML_
libxml compiled : (2, 7, 8)
>>> print("%-20s: %s" % ('libxslt used', etree.LIBXSLT_
libxslt used : (1, 1, 26)
>>> print("%-20s: %s" % ('libxslt compiled', etree.LIBXSLT_
libxslt compiled : (1, 1, 26)