Re: [Twisted-Python] Can't check elements without uri in twisted.words.xish.domish.Element

2013-09-06 Thread Goffi
Ok thanks for the precisions. On 05/09/2013 13:24, Ralph Meijer wrote: On 2013-09-04 16:43, Goffi wrote: G'day, in the method "elements" of twisted.words.xish.domish.Element, the function "generateElementsQNamed" is called event if the uri if None, so the uri is checked against None instead of

Re: [Twisted-Python] Can't check elements without uri in twisted.words.xish.domish.Element

2013-09-05 Thread Ralph Meijer
On 2013-09-04 16:43, Goffi wrote: > G'day, > > in the method "elements" of twisted.words.xish.domish.Element, the > function "generateElementsQNamed" is called event if the uri if None, so > the uri is checked against None instead of not checked at all. > > I think the function "generateElementsN

[Twisted-Python] Can't check elements without uri in twisted.words.xish.domish.Element

2013-09-04 Thread Goffi
G'day, in the method "elements" of twisted.words.xish.domish.Element, the function "generateElementsQNamed" is called event if the uri if None, so the uri is checked against None instead of not checked at all. I think the function "generateElementsNamed" should be called instead, it looks li