[jdev] Question about expat as XML parser for Jabber client

Rachel Blackman rcb at ceruleanstudios.com
Mon Dec 13 18:07:33 CST 2004


> Hello everybody
> I just have a problem using expat as XML parser for my Jabber client
> project.

As a side note, expat will also go 'blerg' and be unhappy if you 
receive and pass it multiple stanzas at once, since expat expects one 
and only one top-level parent tag.  As for the </stream:stream> thing, 
I just solved it when I used expat for a Jabber parser by watching for 
the </stream:stream> portion in my network code before I passed it off 
to expat, and handling it there. :)

-- 
Rachel 'Sparks' Blackman -- sysadmin, developer, mad scientist
"If it is not broken, give me five minutes to redesign it!"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <https://www.jabber.org/jdev/attachments/20041213/8d68748d/attachment-0002.pgp>


More information about the JDev mailing list