walidazizi / rdflib

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

lax rdfa parser - when html5 parser missing, please suggest the exact library needed #97

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
(sudo) easy_install html5lib ... worked for me, but I had to figure out
which library it wanted first. 

g = rdflib.graph.ConjunctiveGraph().parse('http://example.org/foo/',
format='rdfa', lax=True)

gave 'rdflib.syntax.parsers.rdfa.RDFaError: XHTML Parsing error in input
file: not well-formed (invalid token): line 104, column 600. Though parsing
is lax, HTML5 parser not available'
 as an error message. The library name 'html5lib' is worth mentioning;
perhaps also a reminder about 'easy_install'?

Original issue reported on code.google.com by danbrick...@gmail.com on 29 Dec 2009 at 1:38

GoogleCodeExporter commented 8 years ago
huh i guess commit for r1730 didn't close the ticket :-(

Original comment by ed.summers on 29 Dec 2009 at 1:43

GoogleCodeExporter commented 8 years ago
sure it does! didn't know you'd fixed already :)

Original comment by danbrick...@gmail.com on 29 Dec 2009 at 2:57