Skip to content

getElementById doesn't work with minidom #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gsnedders opened this issue Jun 21, 2013 · 1 comment
Open

getElementById doesn't work with minidom #74

gsnedders opened this issue Jun 21, 2013 · 1 comment

Comments

@gsnedders
Copy link
Member

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
Copy link

5 years later, I confirm this bug is not fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants