[Python-modules-team] Bug#471638: html5lib: FTBFS: ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
Lucas Nussbaum
lucas at lucas-nussbaum.net
Wed Mar 19 09:27:09 UTC 2008
Package: html5lib
Version: 0.10-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20080318 qa-ftbfs
Justification: FTBFS on i386
Hi,
During a rebuild of all packages in sid, your package failed to build on i386.
Relevant part:
> /usr/bin/fakeroot debian/rules clean
> pyversions: missing XS-Python-Version in control file, fall back to debian/pyversions
> test -d debian/patched || install -d debian/patched
> dpatch apply-all
> applying patch no-setuptools-please to ./ ... ok.
> dpatch cat-all >>patch-stampT
> mv -f patch-stampT patch-stamp
> dh_testdir
> dh_testroot
> rm -f install-stamp build-stamp
> for py in python2.4 python2.5; do \
> $py setup.py clean; \
> done
> /usr/lib/python2.4/distutils/dist.py:236: UserWarning: Unknown distribution option: 'test_suite'
> warnings.warn(msg)
> /usr/lib/python2.4/distutils/dist.py:236: UserWarning: Unknown distribution option: 'tests_require'
> warnings.warn(msg)
> running clean
> /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: 'test_suite'
> warnings.warn(msg)
> /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: 'tests_require'
> warnings.warn(msg)
> running clean
> find . -name \*.pyc | xargs rm -f
> rm -rf build
> dh_clean
> dpatch deapply-all
> reverting patch no-setuptools-please from ./ ... ok.
> rm -rf patch-stamp patch-stampT debian/patched
> dpkg-source -b html5lib-0.10
> dpkg-source: building html5lib using existing html5lib_0.10.orig.tar.gz
> dpkg-source: building html5lib in html5lib_0.10-2.diff.gz
> dpkg-source: warning: executable mode 0755 of 'debian/patches/no-setuptools-please.dpatch' will not be represented in diff
> dpkg-source: building html5lib in html5lib_0.10-2.dsc
> debian/rules build
> pyversions: missing XS-Python-Version in control file, fall back to debian/pyversions
> test -d debian/patched || install -d debian/patched
> dpatch apply-all
> applying patch no-setuptools-please to ./ ... ok.
> dpatch cat-all >>patch-stampT
> mv -f patch-stampT patch-stamp
> dh_testdir
> set -e; \
> for py in python2.4 python2.5; do \
> $py setup.py build; \
> done
> /usr/lib/python2.4/distutils/dist.py:236: UserWarning: Unknown distribution option: 'test_suite'
> warnings.warn(msg)
> /usr/lib/python2.4/distutils/dist.py:236: UserWarning: Unknown distribution option: 'tests_require'
> warnings.warn(msg)
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/html5lib
> copying src/html5lib/liberalxmlparser.py -> build/lib/html5lib
> copying src/html5lib/sanitizer.py -> build/lib/html5lib
> copying src/html5lib/tokenizer.py -> build/lib/html5lib
> copying src/html5lib/inputstream.py -> build/lib/html5lib
> copying src/html5lib/constants.py -> build/lib/html5lib
> copying src/html5lib/__init__.py -> build/lib/html5lib
> copying src/html5lib/utils.py -> build/lib/html5lib
> copying src/html5lib/html5parser.py -> build/lib/html5lib
> creating build/lib/html5lib/filters
> copying src/html5lib/filters/sanitizer.py -> build/lib/html5lib/filters
> copying src/html5lib/filters/_base.py -> build/lib/html5lib/filters
> copying src/html5lib/filters/iso639codes.py -> build/lib/html5lib/filters
> copying src/html5lib/filters/inject_meta_charset.py -> build/lib/html5lib/filters
> copying src/html5lib/filters/whitespace.py -> build/lib/html5lib/filters
> copying src/html5lib/filters/__init__.py -> build/lib/html5lib/filters
> copying src/html5lib/filters/formfiller.py -> build/lib/html5lib/filters
> copying src/html5lib/filters/optionaltags.py -> build/lib/html5lib/filters
> copying src/html5lib/filters/validator.py -> build/lib/html5lib/filters
> copying src/html5lib/filters/rfc3987.py -> build/lib/html5lib/filters
> copying src/html5lib/filters/lint.py -> build/lib/html5lib/filters
> copying src/html5lib/filters/rfc2046.py -> build/lib/html5lib/filters
> creating build/lib/html5lib/serializer
> copying src/html5lib/serializer/htmlserializer.py -> build/lib/html5lib/serializer
> copying src/html5lib/serializer/__init__.py -> build/lib/html5lib/serializer
> copying src/html5lib/serializer/xhtmlserializer.py -> build/lib/html5lib/serializer
> creating build/lib/html5lib/treebuilders
> copying src/html5lib/treebuilders/_base.py -> build/lib/html5lib/treebuilders
> copying src/html5lib/treebuilders/simpletree.py -> build/lib/html5lib/treebuilders
> copying src/html5lib/treebuilders/__init__.py -> build/lib/html5lib/treebuilders
> copying src/html5lib/treebuilders/dom.py -> build/lib/html5lib/treebuilders
> copying src/html5lib/treebuilders/etree.py -> build/lib/html5lib/treebuilders
> copying src/html5lib/treebuilders/soup.py -> build/lib/html5lib/treebuilders
> creating build/lib/html5lib/treewalkers
> copying src/html5lib/treewalkers/simpletree.py -> build/lib/html5lib/treewalkers
> copying src/html5lib/treewalkers/_base.py -> build/lib/html5lib/treewalkers
> copying src/html5lib/treewalkers/genshistream.py -> build/lib/html5lib/treewalkers
> copying src/html5lib/treewalkers/pulldom.py -> build/lib/html5lib/treewalkers
> copying src/html5lib/treewalkers/__init__.py -> build/lib/html5lib/treewalkers
> copying src/html5lib/treewalkers/dom.py -> build/lib/html5lib/treewalkers
> copying src/html5lib/treewalkers/lxmletree.py -> build/lib/html5lib/treewalkers
> copying src/html5lib/treewalkers/etree.py -> build/lib/html5lib/treewalkers
> copying src/html5lib/treewalkers/soup.py -> build/lib/html5lib/treewalkers
> /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: 'test_suite'
> warnings.warn(msg)
> /usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: 'tests_require'
> warnings.warn(msg)
> running build
> running build_py
> set -e ;\
> cd tests ;\
> for py in python2.4 python2.5; do \
> PYTHONPATH=/build/user/html5lib-0.10/build/lib $py runtests.py; \
> done
> ....................E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E....E........Not implemented: <option>s without a value= attribute
> .Not implemented: <option>s without a value= attribute
> ...Not implemented: <option>s without a value= attribute
> .Not implemented: <option>s without a value= attribute
> ..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.....EE.
> ======================================================================
> ERROR: test_tests1_100_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_101_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_102_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_103_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_104_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_105_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_106_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_107_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_108_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_109_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_10_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_110_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_111_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_112_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_113_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_11_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_12_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_13_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_14_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_15_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_16_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_17_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_18_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_19_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_1_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_20_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_21_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_22_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_23_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_24_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_25_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_26_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_27_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_28_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_29_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_2_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_30_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_31_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_32_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_33_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_34_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_35_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_36_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_37_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_38_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_39_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_3_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_40_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_41_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_42_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_43_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_44_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_45_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_46_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_47_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_48_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_49_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_4_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_50_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_51_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_52_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_53_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_54_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_55_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_56_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_57_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_58_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_59_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_5_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_60_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_61_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_62_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_63_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_64_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_65_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_66_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_67_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_68_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_69_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_6_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_70_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_71_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_72_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_73_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_74_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_75_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_76_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_77_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_78_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_79_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_7_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_80_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_81_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_82_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_83_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_84_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_85_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_86_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_87_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_88_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_89_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_8_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_90_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_91_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_92_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_93_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_94_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_95_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_96_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_97_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_98_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_99_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_9_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_10_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_11_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_12_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_13_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_14_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_15_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_16_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_17_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_18_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_19_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_1_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_20_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_21_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_22_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_23_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_24_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_25_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_26_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_27_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_28_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_29_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_2_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_30_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_31_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_32_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_33_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_34_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_35_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_36_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_37_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_38_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_39_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_3_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_40_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_41_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_42_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_43_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_44_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_45_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_46_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_47_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_48_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_49_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_4_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_50_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_51_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_52_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_53_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_54_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_55_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_56_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_57_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_58_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_59_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_5_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_60_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_6_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_7_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_8_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_9_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_10_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_11_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_12_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_13_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_14_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_15_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_16_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_17_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_18_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_19_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_1_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_20_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_21_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_2_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_3_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_4_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_5_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_6_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_7_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_8_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_9_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_1_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_2_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_3_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_4_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_5_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_6_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_7_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_10_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_11_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_12_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_13_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_14_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_15_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_1_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_2_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_3_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_4_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_5_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_6_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_7_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_8_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests5_9_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_10_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_11_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_12_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_13_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_14_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_1_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_2_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_3_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_4_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_5_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_6_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_7_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_8_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_9_lxml (test_parser.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 103, in testFunc
> return self.runParserTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_parser.py", line 65, in runParserTest
> p = html5parser.HTMLParser(tree = treeClass)
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_100_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_100_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_101_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_101_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_102_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_102_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_103_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_103_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_104_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_104_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_105_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_105_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_106_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_106_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_107_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_107_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_108_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_108_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_109_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_109_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_10_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_10_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_110_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_110_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_111_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_111_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_112_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_112_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_113_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_113_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_11_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_11_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_12_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_12_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_13_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_13_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_14_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_14_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_15_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_15_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_16_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_16_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_17_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_17_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_18_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_18_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_19_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_19_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_1_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_1_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_20_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_20_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_21_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_21_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_22_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_22_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_23_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_23_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_24_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_24_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_25_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_25_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_26_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_26_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_27_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_27_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_28_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_28_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_29_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_29_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_2_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_2_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_30_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_30_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_31_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_31_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_32_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_32_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_33_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_33_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_34_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_34_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_35_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_35_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_36_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_36_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_37_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_37_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_38_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_38_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_39_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_39_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_3_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_3_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_40_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_40_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_41_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_41_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_42_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_42_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_43_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_43_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_44_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_44_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_45_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_45_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_46_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_46_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_47_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_47_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_48_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_48_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_49_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_49_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_4_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_4_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_50_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_50_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_51_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_51_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_52_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_52_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_53_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_53_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_54_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_54_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_55_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_55_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_56_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_56_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_57_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_57_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_58_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_58_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_59_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_59_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_5_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_5_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_60_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_60_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_61_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_61_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_62_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_62_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_63_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_63_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_64_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_64_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_65_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_65_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_66_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_66_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_67_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_67_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_68_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_68_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_69_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_69_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_6_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_6_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_70_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_70_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_71_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_71_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_72_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_72_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_73_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_73_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_74_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_74_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_75_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_75_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_76_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_76_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_77_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_77_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_78_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_78_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_79_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_79_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_7_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_7_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_80_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_80_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_81_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_81_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_82_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_82_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_83_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_83_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_84_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_84_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_85_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_85_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_86_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_86_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_87_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_87_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_88_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_88_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_89_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_89_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_8_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_8_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_90_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_90_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_91_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_91_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_92_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_92_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_93_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_93_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_94_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_94_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_95_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_95_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_96_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_96_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_97_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_97_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_98_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_98_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_99_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_99_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_9_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests1_9_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_10_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_10_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_11_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_11_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_12_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_12_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_13_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_13_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_14_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_14_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_15_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_15_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_16_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_16_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_17_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_17_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_18_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_18_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_19_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_19_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_1_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_1_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_20_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_20_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_21_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_21_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_22_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_22_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_23_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_23_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_24_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_24_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_25_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_25_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_26_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_26_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_27_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_27_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_28_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_28_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_29_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_29_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_2_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_2_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_30_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_30_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_31_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_31_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_32_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_32_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_33_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_33_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_34_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_34_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_35_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_35_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_36_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_36_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_37_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_37_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_38_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_38_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_39_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_39_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_3_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_3_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_40_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_40_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_41_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_41_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_42_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_42_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_43_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_43_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_44_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_44_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_45_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_45_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_46_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_46_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_47_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_47_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_48_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_48_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_49_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_49_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_4_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_4_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_50_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_50_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_51_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_51_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_52_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_52_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_53_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_53_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_54_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_54_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_55_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_55_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_56_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_56_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_57_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_57_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_58_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_58_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_59_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_59_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_5_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_5_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_60_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_60_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_6_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_6_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_7_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_7_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_8_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_8_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_9_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests2_9_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_10_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_10_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_11_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_11_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_12_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_12_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_13_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_13_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_14_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_14_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_15_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_15_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_16_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_16_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_17_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_17_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_18_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_18_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_19_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_19_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_1_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_1_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_20_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_20_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_21_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_21_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_2_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_2_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_3_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_3_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_4_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_4_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_5_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_5_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_6_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_6_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_7_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_7_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_8_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_8_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_9_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests3_9_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_1_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_1_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_2_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_2_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_3_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_3_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_4_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_4_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_5_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_5_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_6_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_6_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_7_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests4_7_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_10_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_10_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_11_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_11_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_12_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_12_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_13_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_13_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_14_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_14_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_1_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_1_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_2_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_2_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_3_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_3_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_4_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_4_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_5_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_5_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_6_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_6_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_7_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_7_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_8_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_8_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_9_lxml_as_etree (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ======================================================================
> ERROR: test_tests6_9_lxml_native (test_treewalkers.TestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 264, in testFunc
> self.runTest(innerHTML, input, expected, errors, treeCls)
> File "/build/user/html5lib-0.10/tests/test_treewalkers.py", line 203, in runTest
> p = html5parser.HTMLParser(tree = treeClass["builder"])
> File "/build/user/html5lib-0.10/src/html5lib/html5parser.py", line 52, in __init__
> self.tree = tree()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 116, in __init__
> self.reset()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/_base.py", line 128, in reset
> self.document = self.documentClass()
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 159, in __init__
> Element.__init__(self, "<DOCUMENT_ROOT>")
> File "/build/user/html5lib-0.10/src/html5lib/treebuilders/etree.py", line 21, in __init__
> self._element = ElementTree.Element(name)
> File "lxml.etree.pyx", line 2210, in lxml.etree.Element
> File "apihelpers.pxi", line 105, in lxml.etree._makeElement
> File "apihelpers.pxi", line 1071, in lxml.etree._tagValidOrRaise
> ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
>
> ----------------------------------------------------------------------
> Ran 7506 tests in 10.968s
>
> FAILED (errors=660)
> Testing tree builders simpletree cElementTree ElementTree lxml DOM
> Testing tree walkers PullDOM lxml_as_etree DOM lxml_native cElementTree simpletree ElementTree
> make: *** [build-stamp] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2008/03/18
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment. Internet was not accessible from the build systems.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the Python-modules-team
mailing list