[Standards] XEP-0068 and MAM

Jonas Wielicki jonas at wielicki.name
Thu Apr 26 18:37:39 UTC 2018

Hi Ivan,

On Donnerstag, 26. April 2018 14:03:15 CEST Ivan Vučica wrote:
> Today I learned about XEP-0068 which seems to specify an IDL-like XML
> for data forms. It also defines a registry for FORM_TYPEs maintained
> by the XMPP Registrar. I feel this could be very useful to client
> libraries, which can generate code with structs for predefined types
> a-la protocol buffers or thrift or  -- presumably that was the
> intention.
> Is anyone using the <form_type/> definitions for code generation? If
> so, for which language are you generating the stubs?

Yes. aioxmpp has an (inofficial and not shipped) utility for this [1]. It 
works and has been used for the MUC config form for example.

> So: Should these /at least/ include the <form_type/> definition?
> Should this be then updated in the registry?

My understanding is that the registry will normally be updated once a XEP 
enters Draft status.

> Next up: XML version of the registry (formtypes.xml) would be much
> more useful if it included the <form_types/> themselves. How are the
> HTML and XML versions generated?

The XML data is in [2].

kind regards,

   [1]: https://github.com/horazont/aioxmpp/blob/devel/utils/
   [2]: https://github.com/xsf/registrar/blob/master/formtypes.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.jabber.org/pipermail/standards/attachments/20180426/2e3dbf69/attachment.sig>

More information about the Standards mailing list