[jdev] XML Namespaces validation
binary at jrudevels.org
Thu Apr 14 17:23:36 UTC 2011
On 04/15/2011 12:13 AM, Kim Alvefur wrote:
> On Thu, 2011-04-14 at 23:57 +0700, Sergey Dobrov wrote:
>> Can not find the moment in RFC. What should happen if I send stanza
>> like this through my C2S connection:
>> <iq to="component.server.org" type="get" id="5">
>> <query xmlns="jabber:iq:version">
>> <caps:c a="b"/>
>> The moment is unbound prefix.
> You should get a not-well-formed stream error, see
Ok, so it seems that I have to post a but to ejabberd...
>> Ejabberd routes stanza as usually but Twisted-based component crashed
>> when parsing it. Who's wrong?
> Both, routing that is wrong, and crashing isn't right either. ;)
What should do XEP-114 compliant component? Just drop such stanza? The
Twisted-based component reconnects immediately which seems good because
jabber server have to validate XML first. Am I wrong?
> JDev mailing list
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
With best regards,
XMPP Developer and JRuDevels.org founder.
More information about the JDev