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 omits hasAttribute, hasAttributeNS
Type: Stage:
Components: Documentation Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jlgijsbers Nosy List: jlgijsbers, mike_j_brown, rhettinger
Priority: normal Keywords:

Created on 2004-08-16 18:12 by mike_j_brown, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg22087 - (view) Author: Mike Brown (mike_j_brown) Date: 2004-08-16 18:12
http://www.python.org/doc/2.3.4/lib/dom-element-
objects.html does not mention hasAttribute() and 
hasAttributeNS(), which are DOM L2 Core methods 
present on Element objects.

They should be mentioned not just for completeness, 
but also so that people are not tempted to use 
getAttribute() and getAttributeNS() to test for attribute 
existence.
msg22088 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-10-20 08:29
Logged In: YES 
user_id=80475

Can you draft a patch?
For the LaTeX markup, just mimic the surrounding text.
msg22089 - (view) Author: Mike Brown (mike_j_brown) Date: 2004-10-21 08:40
Logged In: YES 
user_id=371366

OK, submitted as patch # 1051321

https://sourceforge.net/tracker/index.php?func=detail&aid=1051321&group_id=5470&atid=305470
msg22090 - (view) Author: Johannes Gijsbers (jlgijsbers) * (Python triager) Date: 2005-01-09 00:40
Logged In: YES 
user_id=469548

Fixed by applying patch #1051321.
History
Date User Action Args
2022-04-11 14:56:06adminsetgithub: 40769
2004-08-16 18:12:58mike_j_browncreate