[jadmin] jabberd-2.1.12 - empty messages

Norman Rasmussen norman at rasmussen.co.za
Wed Aug 8 02:50:42 CDT 2007


On 8/7/07, Tomasz Sterna <tomek at xiaoka.com> wrote:
>
> Is it stated somewhere in RFC?
> AFAIR the schemas are informative not normative and should not be used
> for validation.



RFC 3920:
11.3.  Validation

Except as noted with regard to 'to' and 'from' addresses for stanzas within
the 'jabber:server' namespace, a server is not responsible for validating
the XML elements forwarded to a client or another server; an implementation
MAY choose to provide only validated data elements but this is OPTIONAL
(although an implementation MUST NOT accept XML that is not well-formed).
Clients SHOULD NOT rely on the ability to send data which does not conform
to the schemas, and SHOULD ignore any non-conformant elements or attributes
on the incoming XML stream. Validation of XML streams and stanzas is
OPTIONAL, and schemas are included herein for descriptive purposes only.


-- 
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20070808/78f6d347/attachment.htm 


More information about the JAdmin mailing list