over almost 450 specs, I'm sure we can do better :p
Zash
So, those were all the XEPs I could find with "data forms" in the title.
serge90has left
serge90has joined
adiaholic_has left
adiaholic_has joined
bearhas joined
mukt2has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
stpeterhas joined
stpeterhas left
!XSF_Martinhas left
!XSF_Martinhas joined
bearhas left
serge90has left
pep.
I like how they have a section on how to read the document
adiaholic_has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
edhelas
in https://xmpp.org/extensions/xep-0115.html#ver-gen-simple in the example I see "S = 'client/pc//Exodus 0.9.1<'"
serge90has left
edhelas
i think that // should be / there, no ?
serge90has joined
Zash
Why?
Zash
Per https://xmpp.org/extensions/xep-0115.html#ver-gen
> formatted as CATEGORY '/' [TYPE] '/' [LANG] '/' [NAME].
Zash
LANG is empty string in that example
Zash
Hm
Link Mauve
Type can be optional?
Zash
Do things do the thing with xml:lang being inherited when doing this thing?
Link Mauve
I certainly hope so.
lovetoxhas left
serge90has left
serge90has joined
serge90has left
serge90has joined
Neustradamushas left
Neustradamushas joined
Zash
Link Mauve, prepare to be dissapointed
serge90has left
serge90has joined
stpeterhas joined
stpeterhas left
Zash
Would have been nice to separate the strings from the protocol advertising bits
adiaholic_has joined
serge90has left
flow
at least xep390 explicitly mentions this
serge90has joined
bearhas joined
adiaholic_has left
serge90has left
serge90has joined
adiaholic_has joined
serge90has left
serge90has joined
Link Mauve
Meh, it’s only a SHOULD in the RFC…
Zash
Isn't that defined by XML itself?
Link Mauve
If the initiating entity included the 'xml:lang' attribute in its
initial stream header, the receiving entity SHOULD remember that
value as the default xml:lang for all stanzas sent by the initiating
entity over the current stream.
Link Mauve
Section 4.7.4.
Link Mauve
Zash, I meant adding the c2s stream’s @xml:lang to c2s stanzas.
serge90has left
serge90has joined
Zash
Link Mauve: I meant having it added to the entire element tree, ie like xmlns.
Zash
Otherwise if you take out the <{disco#info}query> tag out of the <iq xml:lang="??"> you wouldn't know what lang it has
pep.
flow: while the PR isn't harmful, technically @xml:lang on the iq should equal the root's if it hasn't been redefined :x
serge90has left
adiaholic_has left
adiaholic_has joined
serge90has joined
jonas’
"apply the XML rules"
bearhas left
Zash
jonas’: Why? Why isn't the XML parser library doing that? :(
jonas’
good question
jonas’
then again, there are still XML parsers which not only expose serialisation details like namespace prefixes, but require you to do the reverse mapping yourself
flow
pep., true, but one could say the same for disco#info
pep.
hmm?
flow
well you argue that iq inherits from stream, but disco#info also inherits from iq
Zash
at least libexpat deals with namespaces, but afaik prefixes are lost in translation
flow
so we either say "beware that xml:lang is inherited", or explicitly mention all three sources of inheritance (instead of just two)
serge90has left
Zash
Or yeeeeet that and all human-readable strings out of the caps hash
serge90has joined
pep.
ah I see. yeah I guess mentioning inheritance is more correct but that's nit
adiaholic_has left
adiaholic_has joined
jonas’
Zash, having the human-readable strings in the hash saves a round-trip though when you want to display that info
jonas’
also lends its way to spoofing
Zash
Would it be too painful to have separate hashes?
jonas’
yes
Zash
:(
jonas’
though, maybe not
stpeterhas joined
stpeterhas left
jonas’
the idea to have separate hashes for identities / features / forms isn’t new
jonas’
and I’m still pondering whether that’s a thing we might want
jonas’
increases implementation complexity though
Zash
For the pure protocol bits it seems it could increase cache hit rate
Zash
(does jid x support feature y-kinda things)
jonas’
indeed
jonas’
and <identity/> is rarely needed for that kind of thing
jonas’
another motivation for this is that forms may contain rapidly changing or high-cardinality data (see muc participant count)
flow
jonas’, implemntations could simply hash the multiple hashes if they don't want additional complexity✎
jonas’
flow, !
serge90has left
serge90has joined
jonas’
good idea to write down that concatenated hashes can be used if you don’t want to treat the split data
Zash
Truncated hashes is another way to reduce the size of the caps blob
flow
jonas’, implementations could simply hash the multiple hashes if they don't want additional complexity ✏
jonas’
Zash, didn’t you link a thing the other day which specified some way to refer to some hash functions including stuff like truncation and other parameters?
Zash
Not sure
krauqhas left
mukt2has left
mukt2has joined
serge90has left
xsfhas left
serge90has joined
xsfhas joined
krauqhas joined
adiaholic_has left
adiaholic_has joined
contrapunctushas left
goffihas left
govanifyhas left
eevvoorhas left
sonnyhas left
xeckshas left
xeckshas joined
serge90has left
serge90has joined
serge90has left
serge90has joined
xsfhas left
xsfhas joined
adiaholic_has left
adiaholic_has joined
serge90has left
serge90has joined
stpeterhas joined
stpeterhas left
serge90has left
serge90has joined
bearhas joined
serge90has left
serge90has joined
pdurbinhas left
Nekithas left
Nekithas joined
serge90has left
xsfhas left
bearhas left
Neustradamushas left
Neustradamushas joined
jubalhhas joined
stpeterhas joined
stpeterhas left
jubalhhas left
Shellhas joined
adiaholic_has left
adiaholic_has joined
rionhas left
rionhas joined
stpeterhas joined
stpeterhas left
bearhas joined
bearhas left
adiaholic_has left
adiaholic_has joined
DebXWoodyhas left
lovetoxhas joined
DebXWoodyhas joined
stpeterhas joined
stpeterhas left
Neustradamushas left
Neustradamushas joined
adiaholic_has left
adiaholic_has joined
Shellhas left
mukt2has left
pdurbinhas joined
stpeterhas joined
stpeterhas left
bearhas joined
Maxhas left
Maxhas joined
pdurbinhas left
bearhas left
Jeybehas left
edhelashas left
mukt2has joined
edhelashas joined
Maxhas left
Maxhas joined
mukt2has left
krauqhas left
Maxhas left
Nekithas left
Nekithas joined
lovetoxhas left
xeckshas left
xeckshas joined
krauqhas joined
stpeterhas joined
stpeterhas left
mukt2has joined
DebXWoodyhas left
mukt2has left
mukt2has joined
bearhas joined
Maxhas joined
Jeybehas joined
mukt2has left
j.rhas left
Maxhas left
jubalhhas joined
bearhas left
Jeybehas left
Jeybehas joined
Ge0rGhas left
Ge0rGhas joined
pdurbinhas joined
Wojtekhas joined
bearhas joined
mukt2has joined
jonas’
should we maybe robots.txt-deny the attic?
alexishas left
MattJ
Sounds sensible, yes
jonas’
or at least have a fat warning on every thing there that it’s old
MattJ
I was thinking of other far higher effort solutions
MattJ
(that)
jonas’
since when is sed high effort?
MattJ
"Hey jonas’, ..."
jonas’
I wrote an XMPP client within a day in sed, it can’t be that bad.
jonas’
but yeah, first robots.txt, we can alleviate that at a later point when we get around to do a sed hack
mukt2has left
Zash
Comic Sans?
jonas’
haha, good idea
jubalhhas left
DebXWoodyhas joined
bearhas left
pdurbinhas left
Ge0rG
render the whole XEP in CS? cool!
mukt2has joined
bearhas joined
mukt2has left
mukt2has joined
waqashas joined
Danielhas left
Danielhas joined
Danielhas left
Danielhas joined
Dele Olajidehas left
Danielhas left
Danielhas joined
Danielhas left
Danielhas joined
Danielhas left
Danielhas joined
lorddavidiiihas left
andrey.ghas left
kevinhas joined
mimi89999has left
mimi89999has joined
mimi89999has left
mimi89999has joined
mukt2has left
mukt2has joined
jubalhhas joined
j.rhas joined
Maxhas joined
mukt2has left
mukt2has joined
!XSF_Martinhas left
!XSF_Martinhas joined
Maxhas left
Maxhas joined
jubalhhas left
kevinhas left
j.rhas left
j.rhas joined
!XSF_Martinhas left
!XSF_Martinhas joined
jubalhhas joined
pdurbinhas joined
pdurbinhas left
Shellhas joined
jubalhhas left
Yagizahas left
mukt2has left
Mikaelahas left
Mikaelahas joined
Danielhas left
Danielhas joined
mukt2has joined
vanitasvitaehas left
vanitasvitaehas joined
jubalhhas joined
adiaholic_has left
adiaholic_has joined
j.rhas left
j.rhas joined
jubalhhas left
jubalhhas joined
krauqhas left
krauqhas joined
debaclehas left
debaclehas joined
lovetoxhas joined
lovetoxhas left
flow
does *anything* use xep4 <reported/> somewhere?
flow
the only other occurence of <reported/> in the xeps repo is xep390✎
flow
the only other occurence of <reported/> in the xeps repo, which I found, is xep390 ✏