Michael Jakl wrote: > Hi! > > On Mon, Aug 10, 2009 at 22:39, Niklas Gustavsson<[email protected]> wrote: >> On Mon, Aug 10, 2009 at 10:31 PM, Michael Jakl<[email protected]> wrote: >> I would say that the module should deal with that. So, subdomain >> routing first. Everything matching the subdomain goes to the handler >> dictionary. The SubdomainHandlerDictionery.get() will have to do the >> namespace routing in the case where a module works like the pubsub >> module (and the MUC module btw). Makes sense? > > Yes. Probably it's still a good idea to check if a module registers a > subdomain *and* one or more namespaces, which would be a hard-to-find > bug for the modules developer (but is easy to check for us, I guess).
IIRC, the component spec requires _all_ stanzas for a "subdomain" to be routed to the component. Bernd
