walidazizi / rdflib

Automatically exported from code.google.com/p/rdflib
Other
0 stars 0 forks source link

rdfa parser fails on not well-formed xhtml from a URL #96

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by ed.summers on 20 Dec 2009 at 5:11

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1726.

Original comment by ed.summers on 20 Dec 2009 at 5:21

GoogleCodeExporter commented 8 years ago
This issue was closed by revision b57f5a3cd122.

Original comment by ed.summers on 30 Mar 2011 at 9:06