Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the XML-Stream CPAN distribution.

Report information
The Basics
Id: 6531
Status: resolved
Worked: 1 min
Priority: 0/
Queue: XML-Stream

People
Owner: reatmon [...] mail.com
Requestors: mtroyer [...] jabber.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.21
Fixed in: (no value)



Subject: does not support <route> callbacks
Hi Ray, Mark Troyer here in the Netherlands with Jabber Inc. I am trying to write a jabber component that exchanges <route> stanza. Unfortunately it appears that setting a callback "$Connection->SetCallBacks(route=>\&SomeSub); does not work. Here is the debug trace I get when I run this. Are <route> stanzas supported? Regards, Mark XML::Stream: Read: buff(<route id='12' from='user1@mark.troyer.nl/80B8758' to='987654321@cellid.mark.troyer.nl' type='session'/>) NJ::Component: CallBack: sid(40C35705) received(<route from='user1@mark.troyer.nl/80B8758' id='12' to='987654321@cellid.mark.troyer.nl' type='session'/>) NJ::Component: CallBack: tag(route) NJ::Component: CallBack: id(12) NJ::Component: CallBack: we either want it or were waiting for it. NJ::Component: CallBack: DANGER!! DANGER!! We didn't build a packet! We're all gonna die!!
The <route/> tag is not part of the Jabber/XMPP protocol. They are defined by a specific implementation of a Jabber server. I have no plans to support it officially. That said, I might be inclined to change that part of the callback system to build a generic Net::Jabber::Packet object that has no nmethod, but lets you get to the raw XML yourself. This, however, will not be available anytime soon as I am in the middle of a major overhaul of the modules and cannot release anything that is stable at this point. Ryan Eatmon reatmon@jabber.org