walidazizi / rdflib

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

lax rdfa parser mode - when html5 parser missing, fall back to the strict one rather than fail #98

Closed GoogleCodeExporter closed 8 years ago

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

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

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

Original comment by ed.summers on 29 Dec 2009 at 3:34

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

Original comment by gsf747@gmail.com on 29 Dec 2009 at 4:00

GoogleCodeExporter commented 8 years ago

Original comment by eik...@gmail.com on 1 Feb 2010 at 7:25

GoogleCodeExporter commented 8 years ago

Original comment by eik...@gmail.com on 1 Feb 2010 at 9:16

GoogleCodeExporter commented 8 years ago

Original comment by ed.summers on 2 Feb 2010 at 8:52

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

Original comment by ed.summers on 2 Feb 2010 at 9:44

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

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