A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mail-archive.com/html5lib-discuss@googlegroups.com/msg00122.html below:

Conformance checker started

As promised, I have checked in the beginnings of my HTML5 conformance
checker.  It is implemented as a filter using the existing filter
mechanism, so it is never loaded during normal parsing.  Even the
error codes/messages are defined separately.  To activate it, pass its
HTMLConformanceChecker class as the 'tokenizer' parameter to
HTMLParser, and it will unobtrusively add its behavior to the token
stream.  Full usage example in the docstring here:
http://html5lib.googlecode.com/svn/trunk/python/src/html5lib/filters/validator.py

I also checked in a simple command line wrapper, validate.py, in the
same directory as parse.py.  Like parse.py, it can take a URI, local
filename, or "-" for stdin.

-Mark


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"html5lib-discuss" group.
 To post to this group, send email to html5lib-discuss@googlegroups.com
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/html5lib-discuss?hl=en-GB
-~----------~----~----~----~------~----~------~--~---


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4