<div dir="ltr"><div>Hello,<br><br></div>When
I make a call to the RDF.Parse(name='rdfxml') python binding, passing
in 'rdfxml' as an argument for the name parameter, I get a XML parser
error: Document is empty. The document is definitely not empty, and I
made sure I am pointing the parser at the valid path for the document. <br>
<br><div>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br> File "rdfsim/space.py", line 36, in __init__<br> self.generate_index(self._get_statement_stream())<br>
File "rdfsim/space.py", line 40, in _get_statement_stream<br> return parser.parse_as_stream(self._path_to_rdf)<br> File "/usr/lib/python2.6/dist-packages/RDF.py", line 1709, in parse_as_stream<br>
uri._reduri, base_uri._reduri)<br>RDF.RedlandError: 'XML parser error: Document is empty'<br><br></div><div>Also,<br></div>Is
there a way, using the python bindings, to load the asserted
annotations for a class? Is this another argument I have to pass into
the constructor?<br>
<br>Thanks,<br>Zach</div>