Message154752
Upon inspection, _ensure_attributes() is only called in _get_attributes(), setAttributeNode() and _set_attribute_node(). The last of these is only called by setAttributeNode(), and it would appear that setAttributeNode() is only called if there *are* attributes.
_get_attributes() is only called by writexml().
So, calls to public methods getAttribute(), getAttributeNS() and a few others are likely to fail because, if there are no attributes in the XML being processed, _ensure_attributes() wouldn't get called.
It looks like a bug to me! ;-) |
|
Date |
User |
Action |
Args |
2012-03-02 08:54:12 | vinay.sajip | set | recipients:
+ vinay.sajip, loewis, eric.araujo, r.david.murray |
2012-03-02 08:54:12 | vinay.sajip | set | messageid: <1330678452.32.0.00545007174355.issue14168@psf.upfronthosting.co.za> |
2012-03-02 08:54:11 | vinay.sajip | link | issue14168 messages |
2012-03-02 08:54:11 | vinay.sajip | create | |
|