Am Sa., 8. Aug. 2020 um 07:13 Uhr schrieb Daniel Gultsch <[email protected]>:
>
> Am Sa., 8. Aug. 2020 um 07:07 Uhr schrieb Ruslan N. Marchenko 
> <[email protected]>:
> >
> > Hi Standards,
> >
> > I'm trying to extend PEP server implementation to support OMEMO and
> > stumbled upon following issue: the OMEMO 5.3.2 stipulates the max_items
> > should be specified in the publish-options form, however neither form
> > registry nor XEP-0060 allow anything but access-model in the publishing
> > options.
> >
> > Is it my mis-interpretation of the form registry enforcement or OMEMO
> > needs to add a statement that it is going to extend the registery with
> > additional fields?
> >
> > I.e. I know the form can contain any arbitrary data just wonder if any
> > implementation applies some additional validation of the publish
> > options which may lead to iq errors.

Sorry. I hit send too early.

Yes XEP-0060 mandates very specific rules on when to IQ-error out.
(Essentially each time it can’t match a publish-option to a
corresponding node configuration.) It explicitly states that you can’t
just ignore unknown options.

> it MUST reject the publication upon encountering unknown fields.
_______________________________________________
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: [email protected]
_______________________________________________

Reply via email to