-
vanitasvitae
Hey! I have a question regarding XEP-0104:
-
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.
-
vanitasvitae
That element carries a <http:auth/> element which again carries 3 child elements.
-
vanitasvitae
Only one of those (<http:auth-param/> carries the http prefix, while the other two omit that prefix (<auth-prefix/>)
-
vanitasvitae
Is that example correct?
-
vanitasvitae
Why aren't those child elements serialized uniformly by either all carrying or all omitting the namespace prefix?
-
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?
-
jonas’
the example is most likely incorrect
-
jonas’
it should be http:auth-param for all of the child elements
-
vanitasvitae
Ah okay.
-
vanitasvitae
I'll prepare a fix then :)
-
vanitasvitae
Hey, we hit 2 to the power of 10 :O https://github.com/xsf/xeps/pull/1024
-
emus
✨