[XML-SIG] [Bug #124829] DbDom : getAttribute / getAttributeNode bad implementation

noreply@sourceforge.net noreply@sourceforge.net
Thu, 7 Dec 2000 02:25:56 -0800


Bug #124829, was updated on 2000-Dec-07 02:25
Here is a current snapshot of the bug.

Project: Python/XML
Category: 4Suite
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: AFayolle
Assigned to : Nobody
Summary: DbDom : getAttribute / getAttributeNode bad implementation

Details: Using DbDom, getAttributeNS returns an AttributeImp object (instead of the value of the attribute) and getAttributeNodeNS is not implemented.

Sample code (e is an ElementImp object):

>>> e.setAttributeNS('','toto','5')
>>> e.getAttributeNS('','toto')
<Ft.DbDom.Dom.AttributeImp instance at 8281bc0>
>>> e.getAttributeNodeNS('','toto')
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python1.5/site-packages/Ft/Ods/PersistentObject.py", line 163, in __getattr__
    raise AttributeError(name)
AttributeError: getAttributeNodeNS


For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=124829&group_id=6473