[JDEV] just wondering...
Peter Millard
me at pgmillard.com
Mon Jan 7 16:39:56 CST 2002
----- Original Message -----
From: "Daniel Veillard" <veillard at redhat.com>
[stuff munched]
> I implemented XML-RPC on top of Jabber (following the draft from last
summer)
> and it's actually very nice to be able to parse all the XML-RPC calls of
the
> application with the same parser instance, neat !
Besides the namespace handling issues that were already mentioned on the
list, this is a VERY important reason. In most XML parsers, there is a
substantial amount of overhead related to "initializing" the XML parser, so
this is essentially optimized "out" of most jabber implimentations. In all
jabber clients, you only need a single parser instance per connection.
As far as "how to make it work", I can't speak for JAVA parsers, but often
it's necessary to put some kind of "filter" between the socket and the
parser to pick up <stream:stream>, but it usually depends on the specifics
of the parser.
Peter M.
More information about the JDev
mailing list