-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to read in xml file #33
Comments
Each parser has a
So you probably have to make a subclass of |
I am trying to parse an xml file using the generic XMLReader and I am also getting this error. When I use the function It seems when I change the |
We had similar issues:
|
USpatenttest.xml.zip
Having trouble reading in this XML file with the generic XMLReader. It's downloaded from the WIPO patenscope site.
I run:
from chemdataextractor import Document
f = open('USpatenttest.xml', 'rb')
doc=Document.from_file(f)
And I get the error
File "/home/ubuntu/miniconda3/envs/reverie_env/lib/python3.6/site-packages/chemdataextractor/reader/markup.py", line 208, in parse root = self._css(self.root_css, root)[0] IndexError: list index out of range
Any advice is greatly appreciated! Thanks
The text was updated successfully, but these errors were encountered: