[XML-SIG] Is this a bug?
Konrad Hinsen
hinsen@cnrs-orleans.fr
Fri, 26 Oct 2001 17:40:22 +0200
Suppose I have an element node:
(Pdb) p node
<Element Node at 868b6cc: Name='xref' with 1 attributes and 1 children>
(Pdb) p node.attributes
<NamedNodeMap at 868bc04: {(None, u'linkend'): <Attribute Node at 868bed4: Name="linkend", Value="Class:Scientific.BSP.ParValue">}>
According to my understanding of the manual, I should be able to get the
value of the attribute in the following way:
(Pdb) p node.getAttribute(u'linkend')
''
What does work is the following:
(Pdb) node.getAttributeNS(None, u'linkend')
u'Class:Scientific.BSP.ParValue'
Isn't that a bug? I am using the 4DOM implementation from PyXML 0.6.6.
Konrad.
--
-------------------------------------------------------------------------------
Konrad Hinsen | E-Mail: hinsen@cnrs-orleans.fr
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24
Rue Charles Sadron | Fax: +33-2.38.63.15.17
45071 Orleans Cedex 2 | Deutsch/Esperanto/English/
France | Nederlands/Francais
-------------------------------------------------------------------------------