[jdev] RE: Re: Re: Parsing XMPP/Jabber protocol

Jens Mikkelsen gyldenskjold at mail.dk
Wed Dec 29 17:22:35 CST 2004


On Wed, 2004-12-29 at 20:36, Maxym Gorodetskyy wrote:
> I am in the beginning of my way, that is why probably I am so optimistic.
> The main goal of my project is to understand why people like so much XML.
I doubted this aswell in the beginning. What is so brilliant about XML?
Well I started my project on expanding jabber for further features and I
must admit, that I have grow very found of XML.
It is so nice to have an open standard of data represantation. It's
really easy to get into and even easyier to expand for further features.
I managed to just add some children to some IQ packets etc.
It would have been hell with a non standard data format used by other
IMs.

> I just started looking at XMPP protocol as well.
> For a moment I can see only one problem: it is reading XML from socket and
> parse it on the fly.
You can parse XML on the fly rather easy with the standard parser:
javax.xml.parsers.SAXParser;
If you look around there are plenty of guides to implement this.
> 
[...]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20041230/c92d3f84/attachment-0002.pgp>


More information about the JDev mailing list