RDFLib/rdflib — Issue #91: lax rdfa parser - when html5 parser missing, please suggest the exact library needed
Author: gjhiggins
Created: 2012-02-20 08:32:29+00:00
State: closed

danbrick...@gmail.com, 2009-12-29T13:38:25.000Z

(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'?

Comment 1 by ed.summers
huh i guess commit for r1730 didn't close the ticket :-(

Comment 2 by danbrick...@gmail.com
sure it does! didn't know you'd fixed already :)