Re: [xml] python xmlReader remains in previous attribute



--- Daniel Veillard <veillard redhat com> wrote:
On Tue, Jul 20, 2004 at 11:08:14AM +0100, Sitsofe Wheeler wrote:
The right number of node names are printed but after
reading the attributes all node names have the value
of the last read attribute.

  Looks like a stupid bug, is that in bugzilla ? If no, please
add it,

Ok, filed as http://bugzilla.gnome.org/show_bug.cgi?id=147993

Someone kindly pointed out to me off the list that I can use
MoveToElement() to workaround this problem. I am aware of
MoveToElement() (see my previous post
http://mail.gnome.org/archives/xml/2004-July/msg00035.html ) but
since the current behaviour of staying stuck on that attribute while
underneath actually moving on is not documented I think it should be changed.

=====
Sitsofe | http://sucs.org/~sits/


        
        
                
___________________________________________________________ALL-NEW Yahoo! Messenger - sooooo many all-new 
ways to express yourself http://uk.messenger.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]