HTML parser based on the WHAT-WG Web Applications

Edit Package python-html5lib
http://code.google.com/p/html5lib

HTML parser designed to follow the WHATWG HTML5 specification. The parser is designed to handle all
flavours of HTML and parses invalid documents using well-defined error handling rules compatible
with the behaviour of major desktop web browsers.
Output is to a tree structure; the current release supports output to ElementTree (including
cElementTree and lxml.etree), minidom, and a custom simpletree format.
html5lib also includes a HTML sanitizer, "treewalkers" for converting various tree formats into
streams and filters and serializers to operate on those streams.

Author:
--------
James Graham

Refresh
Refresh
Source Files
Filename Size Changed
coerce_comments_to_work_with_lxml.patch 0000002717 2.65 KB
html5lib-0.9999999.tar.gz 0000889312 868 KB
python-html5lib.changes 0000004143 4.05 KB
python-html5lib.spec 0000002771 2.71 KB
Revision 4 (latest revision is 5)
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 420461 from Thomas Bechtold's avatar Thomas Bechtold (tbechtold) (revision 4)
- Add coerce_comments_to_work_with_lxml.patch
  Fixes compatibility with python-lxml 3.5+, which adds validation
  for xml comments.
  Should be in next release/
- Re-enable tests.

- Disable broken tests.
  Check if they are working again in the next release.

- update to version 0.9999999:
  * Fix #195: fix the sanitizer to drop broken URLs (it threw an
    exception between 0.9999 and 0.999999).
Comments 0
openSUSE Build Service is sponsored by