RDFLib/rdflib — Issue #92: lax rdfa parser mode - when html5 parser missing, fall back to the strict one rather than fail
Author: gjhiggins
Created: 2012-02-20 08:32:31+00:00
State: open

danbrick...@gmail.com, 2009-12-29T13:49:26.000Z

we have lax=True ...

what about laxreq=True ? ie. that we're asking for lax if it's there, but
if not, please don't go throwing exceptions etc ...

Comment 1 by ed.summers
It only uses the lax parser if the strict one fails ... so trying the strict one again
isn't going to be much use.

Personally I think it makes sense to add html5lib and pyparsing as rdflib dependencies
to the setup.py and remove this load checking code.

Comment 2 by gsf747@gmail.com
html5lib and pyparsing are reasonable dependencies. Can rdflib depend on the versions
at PyPI? I see that the html5lib there is 0.10 while
http://code.google.com/p/html5lib/ states "the 0.11 release is rather old."

Comment 3 by eik...@gmail.com

Comment 4 by eik...@gmail.com

Comment 5 by ed.summers

Comment 6 by ed.summers
This issue was closed by revision r1756.

Comment 7 by ed.summers
This issue was closed by revision 088a43b9e14f.