[Standards] the meaning of "MUST be empty"

Florian Schmaus flo at geekplace.eu
Tue Jun 19 12:01:01 UTC 2018


On 19.06.2018 13:32, Guus der Kinderen wrote:
> I don't remember ever making use of a. I'd expect implementations to
> … accept c.

I hope not. a) would be an invalid message stanza since the empty string
is not a valid JID.

- Florian

> On Tue, 19 Jun 2018, 13:11 Bartłomiej Górny,
> <bartlomiej.gorny at erlang-solutions.com
> <mailto:bartlomiej.gorny at erlang-solutions.com>> wrote:
> 
>     Hi
> 
>     If a XEP states that an attribute "MUST be empty", does it mean that it:
>     a) must be present and have a value ""
>     b) must not be there
>     c) can be either of the two
> 
>     The question arose because of XEP-0313, which in point 5.1.2 says:
> 
>          "When sending out the archives to a requesting client,
>          the 'to' of the forwarded stanza MUST be empty"
> 
>     and then gives an example where forwarded stanzas have no 'to'
>     attribute. We just hit a situation where there are conflicting
>     implementations, and we want to sort it out The Right Way, hence the
>     question.
> 
>     BG
> 
>     -- 
>     Leże, oglądam mecz, pije piwo, zagryzam czipsem i jeszcze głaszcze psa.
>     Nagle wchodzi żona i awanturuje się, że nic nie robie.
> 
>     (piniol, bash.org.pl <http://bash.org.pl>)
>     _______________________________________________
>     Standards mailing list
>     Info: https://mail.jabber.org/mailman/listinfo/standards
>     Unsubscribe: Standards-unsubscribe at xmpp.org
>     <mailto:Standards-unsubscribe at xmpp.org>
>     _______________________________________________
> 
> 
> 
> _______________________________________________
> Standards mailing list
> Info: https://mail.jabber.org/mailman/listinfo/standards
> Unsubscribe: Standards-unsubscribe at xmpp.org
> _______________________________________________
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 642 bytes
Desc: OpenPGP digital signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20180619/7c6f788d/attachment.sig>


More information about the Standards mailing list