[Pidgin] #7681: Jabber: packet XML parser misses xmlns information and prefixes
Pidgin
trac at pidgin.im
Wed Dec 3 04:38:53 EST 2008
#7681: Jabber: packet XML parser misses xmlns information and prefixes
----------------------------------------------+-----------------------------
Reporter: neuro | Owner: deryni
Type: defect | Status: new
Component: XMPP | Version: 2.5.2
Keywords: xmpp jabber xmlns prefix xmlnode |
----------------------------------------------+-----------------------------
Hi
I'm writing a SOAP-over-XMPP plugin for Pidgin.. and I've noticed that
while parsing the XMPP stream, jabber's parser ignores namespace aliases
and prefixes. Keeping the namespace alias dicitonary is important for me.
It seems, since libxml2 provides the information. I've compared the code
with the one in xmlnode.c and came up with the patch. It doesn't intruduce
any overhead since it marely copies data provided by libxml2 into xmlnode
structures and I've already tested it.
I hope the patch format is alright.
PS Previously I've posted to the devel mailing-list with no reply. The
thread is here: http://pidgin.im/pipermail/devel/2008-November/007086.html
Cheers,
Michal
--
Ticket URL: <http://developer.pidgin.im/ticket/7681>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list