RDFLib/rdflib — Issue #90: rdfa parser fails on not well-formed xhtml from a URL
Author: gjhiggins
Created: 2012-02-20 08:32:28+00:00
State: open

ed.summers, 2009-12-20T05:11:36.000Z

I noticed that Ivan's RDFa Distiller (which uses pyRDFa, the code that
rdflib's RDFa implementation was pulled from) is able to parse the new RDFa
at O'Reilly:

http://www.w3.org/2007/08/pyRdfa/extract?
uri=http://oreilly.com/catalog/9780596516499/

However, rdflib isn't able to extract any triples:

graph = ConjunctiveGraph()
graph.parse(location='http://oreilly.com/catalog/9780596516499/',
format='rdfa')
print len(graph)

This prints 0 instead of 77 triples.

Comment 1 by ed.summers
This issue was closed by revision r1726.

Comment 2 by ed.summers
This issue was closed by revision b57f5a3cd122.