[jdev] S2S questions - from attribute and version support

Jacek Konieczny jajcus at jajcus.net
Thu Dec 29 01:35:01 CST 2005


On Thu, Dec 29, 2005 at 12:07:51PM +0530, Vinod Panicker wrote:
> RFC 3920 states -
> 
>    In the 'jabber:server' namespace, a stanza MUST possess a 'from'
>    attribute; if a server receives a stanza that does not meet this
>    restriction, it MUST generate an <improper-addressing/> stream error
>    condition.
> 
> But the Dialback section states -
> 
>    Note: The 'to' and 'from' attributes are OPTIONAL on the root stream
>    element.

Stanza is not the root stream element, but a child of the root stream
element. So there is nothing conflicting in those two sentences.

Greets,
        Jacek



More information about the JDev mailing list