[ python-Bugs-1010196 ] xml.dom documentation omits hasAttribute, hasAttributeNS

SourceForge.net noreply at sourceforge.net
Thu Oct 21 10:40:07 CEST 2004


Bugs item #1010196, was opened at 2004-08-16 11:12
Message generated for change (Comment added) made by mike_j_brown
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1010196&group_id=5470

Category: Documentation
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike Brown (mike_j_brown)
Assigned to: Nobody/Anonymous (nobody)
Summary: xml.dom documentation omits hasAttribute, hasAttributeNS

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Mike Brown (mike_j_brown)
Date: 2004-10-21 01:40

Message:
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

----------------------------------------------------------------------

Comment By: Raymond Hettinger (rhettinger)
Date: 2004-10-20 01:29

Message:
Logged In: YES 
user_id=80475

Can you draft a patch?
For the LaTeX markup, just mimic the surrounding text.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1010196&group_id=5470


More information about the Python-bugs-list mailing list