This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: xml.dom documentation doesn't match implementation
Type: behavior Stage:
Components: Documentation, XML Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: brunogola, georg.brandl, stefan
Priority: normal Keywords: easy

Created on 2008-02-13 14:37 by stefan, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue_2101_doc.patch brunogola, 2008-02-23 14:17 Documentation patch
Messages (3)
msg62359 - (view) Author: Stefan Seefeld (stefan) * (Python committer) Date: 2008-02-13 14:37
The docs at http://docs.python.org/lib/dom-element-objects.html
claim that removeAttribute(name) silently ignores the attempt to
remove an unknown attribute. However, the current implementation
in the minidom module (part of _xmlplus) raises an xml.dom.NotFoundErr
exception.
msg62732 - (view) Author: Bruno Gola (brunogola) Date: 2008-02-23 14:17
This seems to be a documentation bug. Patch attached.
msg62817 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-02-23 21:59
Fixed in r61017.
History
Date User Action Args
2022-04-11 14:56:30adminsetgithub: 46360
2008-02-23 21:59:20georg.brandlsetstatus: open -> closed
nosy: + georg.brandl
resolution: fixed
messages: + msg62817
2008-02-23 14:17:09brunogolasetfiles: + issue_2101_doc.patch
nosy: + brunogola
messages: + msg62732
2008-02-15 17:35:29akuchlingsetkeywords: + easy
2008-02-13 14:37:13stefancreate