<iq type="set" id="ab0ed" to="jud.domain.com" > <query xmlns="jabber:iq:search" > <name>brad</name> </query> </iq>
Note that there are actual carriage returns at the end of each line above. Brad > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Raditha Dissanayake > Sent: Monday, September 16, 2002 01:09 > To: [EMAIL PROTECTED] > Subject: [JDEV] Re: xmlnode_xxx() probs > > > Hi > Brad i have played around a bit with these function but haven't run into > this particular problem. But that doesn't mean it does not exist > :-) Can you > send a sample of your xml to this list please. > > Brad writes: > > > I've been working on an in-process component and have found > some peculiarity with the xml parser used by jabbber. It seems > that if there are any <CR>s or spaces between tags that get sent > by a client then the xmlnode_get_xxx() functions end up returning > NULL much of the time. Is this a known problem with the jabber > xml parser and if so, how does everybody work around this problem? > > > > What I'm trying to do is call xmlnode_get_firstchild() and then > loop through all the children with xmlnode_get_nextsibling() > until i get no more children. I thought I could do this by > testing for a NULL ptr being returned, but as mentioned above > that isn't working. > > > > Brad > > > > _______________________________________________ > > jdev mailing list > > [EMAIL PROTECTED] > > http://mailman.jabber.org/listinfo/jdev > > > > -------------------- > raditha dissanayake > [EMAIL PROTECTED] > > _______________________________________________ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev > _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
