XSF Discussion - 2020-12-30


  1. vanitasvitae

    Hey! I have a question regarding XEP-0104:

  2. vanitasvitae

    In section https://xmpp.org/extensions/xep-0104.html#sect-idm45680087471264 the second example has a <url-data/> element which defines a http namespace prefix.

  3. vanitasvitae

    That element carries a <http:auth/> element which again carries 3 child elements.

  4. vanitasvitae

    Only one of those (<http:auth-param/> carries the http prefix, while the other two omit that prefix (<auth-prefix/>)

  5. vanitasvitae

    Is that example correct?

  6. vanitasvitae

    Why aren't those child elements serialized uniformly by either all carrying or all omitting the namespace prefix?

  7. vanitasvitae

    Naively I would assume that since the parent element (<http:auth/>) is already carrying the prefix, we can omit it in the child elements?

  8. jonas’

    the example is most likely incorrect

  9. jonas’

    it should be http:auth-param for all of the child elements

  10. vanitasvitae

    Ah okay.

  11. vanitasvitae

    I'll prepare a fix then :)

  12. vanitasvitae

    Hey, we hit 2 to the power of 10 :O https://github.com/xsf/xeps/pull/1024

  13. emus