Pavel Heimlich wrote: > Hi, > this is reported as https://bugs.kde.org/show_bug.cgi?id=191750, but to me > and to NetBeans it looks like the code is OK and the upstream developers seem > to be equally confused. > > So: here are the important parts of > http://websvn.kde.org/trunk/KDE/kdelibs/khtml/xml/dom_elementimpl.h?revision=1070748&view=markup > > ************* > class AttrImpl : public NodeBaseImpl > { > ... > public: > ... > DOMStringImpl *val() const { return m_value; } > ... > }; > ... > struct AttributeImpl > { > ... > 135 DOMStringImpl *val() const { return m_localName.id() ? m_data.value : > m_data.attr->val(); }
Would it be possible to use dbx on the code and do something like whatis -e m_localName.id() and whatis -e m_data.attr->val() ? A+ Paul -- Paul Floyd http://paulf.free.fr
