A RetroSearch Logo

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

Search Query:

Showing content from https://github.com/html5lib/html5lib-python/issues/74 below:

getElementById doesn't work with minidom · Issue #74 · html5lib/html5lib-python · GitHub

http://code.google.com/p/html5lib/issues/detail?id=79

Reported by nils.winter, Sep 1, 2008

What steps will reproduce the problem?

Take any html file and use the minidom treebuilder. See the attached example.

What is the expected output? What do you see instead?

docgetElementyById doesn't work. It should

Please provide any additional information below.

minidom seems to expect some document definitions like <!DOCTYPE x [<!ATTLIST x a ID #IMPLIED>] (or the complete doctype). Since the html5lib treebuilder is used for building the document an html5lib is provided with a valid html document, it should be html5libs business to provide the ID definitions based on the current html doctype to minidom.

begueradj, hangingman and codingisacopingstrategy


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

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

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