-
Guus
from a random sampling of XEPs, I'm noticing that many IQ stanza examples have their attributes in this order: `from`, `id`, `to`. Is there any particular reason for this? Is this order specified or implied somewhere?
-
Guus
(I noticed because in my mind, the `to` and `from` belong to be side-by-side, *twitch*)
-
goffi
Guus: I guess it's probably copy pasted from one of the earlier XEPs.
-
goffi
or alphabetical order.
-
MattJ
Guus: I can't help but worry that you asked this question... attribute order does not matter
-
MattJ
Unlike element order which does matter, but in XMPP we mostly try to pretend it doesn't
-
goffi
MattJ: in a few XEPs (at least one that I've authored), element order may matter in XMPP.
-
Guus
MattJ: no worries :D I'm drafting a document, and was being pedantic with regards to whitespace alignment et. al.
-
Zash
I'd probably run things trough `xmllint --format -` when I'm feeling pedantic
-
Guus
Where's the fun in that?
-
MattJ
goffi: yes, that's why I said "mostly"