1. Is this document needed to fill gaps in the XMPP Standards Foundation's policies and procedures, or to clarify an existing XSF policy or procedure?
2. Does the document address the problem stated in the introduction and requirements?
3. Should the XSF adopt this document as part of its policies and procedures?
4. Do you have any concerns about the effects of this policy?
5. Is the document accurate and clearly written?
j.rhas joined
Half-ShotXhas left
sezuanhas left
Half-ShotXhas joined
Half-ShotXhas left
alacerhas joined
efrithas joined
andyhas joined
Marandahas joined
dwd
Speaking of XEP-0345, I should look at that and see where I left it... I know I had comments from Zash, and can't recall if I addressed them.
Guus
Thanks dwd
Zash
I did what
Guus
jonas’ what he said ^
dwd
Zash, You complained about the "legal name" thing, I think.
dwd
Zash, It was a while ago though.
Zash
Maybe I did
Zash
I neither confirm nor deny this
Half-ShotXhas joined
Guus
I wonder if there's a more accurate/applicable term than 'legal name'
Guus
I myself am not using my legal name
dwd
Guus, It varies between jurisidctions, which doesn't help.
Guus
I'm using "Guus der Kinderen", while legally, I shall be referred to as "Gustaaf Johannes Stephanes der Kinderen"
Half-ShotXhas left
Guus
(which basically is used only when I renew my passport or book a flight - I was once scolded by a police officer for failing to spell my own legal name 😉 )
dwd
Guus, So I believe that most European countries are very particular about names, whereas places like the UK are very relaxed (hence I can be Dave Cridland on legal forms as well as David Alan Cridland).
Guus
I don't mind using the term 'legal name' though - but if there's something more applicable, we could use that instead.
dwd
Guus, Also I'm calling you "Gustaaf" from now on.
efrithas left
Guus
I would be disappointed if you did not.
j.rhas joined
dwd
Hmmm. So XEP-0345 still has warts from when it was trying to handle the corporate applicants that our bylaws allowed at the time.
efrithas joined
dwd
And, yes, still have the legal name bit - bit also I'm sure we discussed adding something about "names by which an applicant is likely to be known".
Guus
Legal Name / Personal Name / Name by which the person is commonly known
Guus
something like that?
Guus
(I did a wiki search)
Zash
X.500 commonName
lorddavidiiihas left
dwd
So we had a discussion about people putting in a real name, but not the nickname they generally use - when that nickname itself couldn't be connected to their real name. This has meant in one case that someone didn't get voted on (they didn't mention the nickname by which everyone knew them), for instance.
Guus
Yeah, the Bear case
dwd
I actually meant the Mike Taylor case, but yes.
Half-ShotXhas joined
Guus
Although I do think we shouldn't base or policies on that incident.
Guus
we discussed earlier that having legal/personal names could be required, as members can be elected in positions of legal meaning.
Guus
legal status?
Guus
you know what I mean.
Zash
Having a suggestion that it's sane to mention if you use a nickname is probably sensible
Guus
I'm not sure if the state of Delaware would allow for officers to serve when they're only identified by a nickname, or are anonymous.
Guus
I think we need not even have the suggestion, to be honest.
Guus
everyone keeps bringing up this one incident
Guus
this shall not happen again (and to be honest, if it does, that's pretty silly)
Zash
I mean like an implementation note, not a formal requirement.
Guus
i won't object, but seems over the top to me. *shrug*
MattJ, I think the Approving Body needs to request an LC
Ge0rG
at least for protocol XEPs
MattJ
I don't think this is really well documented
jonas’
I think it is in XEP-0001
MattJ
s/well //
MattJ
It is, and it isn't
jonas’
(maybe because it’s not the authors job to request an LC)
jonas’
(formally)
MattJ
So the council just decides one day?
MattJ
Why haven't they decided about my XEP-nnnn?
MattJ
I think the process is a bit poor here
MattJ
The council, especially these days, is pretty much reactive in my experience
Zash
Needs moar vision
Ge0rG
MattJ: the Council always was reactive
APachhas left
MattJ
Ge0rG, in the early days the council was more active I think
Ge0rG
Except for individual Council members who have or had an agenda, which they are perfectly able to pursuit with their non-Council hat on.
krauqhas joined
krauqhas joined
MattJ
Meetings used to be twice as long as they are today, for a start :)
j.rhas joined
MattJ
They can't pursue it with a non-Council hat on, since as jonas’ said, Council is the one that decides on the LC
Ge0rG
MattJ: yes, but the author can ask the council to vote on an LC, and the council will
MattJ
I'm not currently on Council, and as an "outsider" it's not clear anywhere how to get my XEP to LC
Ge0rG
I'm not even sure whether Council would issue an LC without the author asking for it.
Half-ShotXhas left
Ge0rG
so it looks like we need a PR for XEP-0001, and a Board vote.
MattJ
In my experience they rarely do (and many deferred-but-widely-implemented XEPs to prove it)
Ge0rG
MattJ: how is Council supposed to know when an Experimental XEP is ready to advance?
MattJ
XEP-0313 is one of the deferred-if-not-for-a-typo XEPs btw
Ge0rG
Yes, and this is a process violation.
Ge0rG
At least according to how we perceive the process.
MattJ
If XEP-0313 is not on the council's radar for an LC, I don't think there's much hope for any other XEPs :)
MattJ
I'm happy if the answer is "the author should typically request an LC", but as I said, this is not documented anywhere
Zash
`select * from xeps where status == deferred order by date`
MattJ
I think in the past it wasn't necessary, as there was more overlap between Council and Authors, and Council were more proactive in driving the process
MattJ
I'm not saying it's necessarily bad that that has changed, it wasn't an approach that necessarily scales well
mtavareshas joined
Half-ShotXhas left
MattJ
But I think we do need to make it clearer to authors (or anyone) that they should ping Council for LCs
Ge0rG
MattJ: what you are saying is that due to the overlap, it wasn't possible to see whether the LC was demanded with the author-hat or with the council-hat on.
MattJ
Yes, I guess I am
Ge0rG
MattJ: and I agree with the latter statement, which is why I was calling for a PR against 0001
Ge0rG
With due process, this is a Board topic.
Half-ShotXhas left
MattJ
Not that it really mattered, but I think XEP-0001 assumes the Council hat, which doesn't apply for a reactive Council
MattJ
Sure, I can add it to Trello
efrithas joined
j.rhas joined
Ge0rG
MattJ: being a Council member, I'm not sure what would enable me to ask for an LC on somebody else's XEP, except maybe when 12 months have passed and it would become Deferred otherwise
MattJ
Pretty sure you're free to suggest an LC at any time, on anything
Ge0rG
MattJ: so the only alternative I see to "author must ping Council" is "Council must cast an LC vote on deferral"
Half-ShotXhas left
jonas’
MattJ, I take it as: conucil should make a point out of looking at one deferred XEP a week to decide what to do about it✎
jonas’
MattJ, Ge0rG, I take it as: council should make a point out of looking at one deferred XEP a week to decide what to do about it ✏
Ge0rG
MattJ: but there is no item on a Council member TODO list of "review all experimental XEPs for a potential LC", and that would be O(fucking much work)
MattJ
That would be a nice move to clear up the backlog, and deferred XEPs should be reviewed as they are deferred also
Zash
xeps->collectgarbage()
MattJ
Ge0rG, then I think author (or implementer) initiating is fine
MattJ
Didn't this happen recently? Some XEP got deferred and someone had a minor panic on standards@
jonas’
I’ll set up a script which randomly picks a deferred XEP a week and submits it to council agenda
MattJ
and the reply was "Don't worry, this XEP won't slip through"
Ge0rG
jonas’: NOOO!
Zash
jonas’: 👍
Ge0rG
MattJ: if the author can't keep the XEP from being Deferred, why is Council supposed to keep track of that?
Half-ShotXhas left
Half-ShotXhas joined
Zash
$ curl https://xmpp.org/extensions/xeplist.xml | xml2 | 2csv xep-infos/xep type status |stats | head -n5
155 Standards Track,Deferred
77 Standards Track,ProtoXEP
63 Standards Track,Draft
31 Standards Track,Retracted
29 Standards Track,Experimental
Ge0rG
Speaking with my overworked-council-member hat on, authors have an effort of O(1), we have an effort of O(N). I disapprove of any process that increases my load because authors don't care enough about their piece.
Ge0rG, I think Council looking at a Deferred XEP each week would not only benefit advancement, but also the proficiency of Council in the protocols which exist
MattJ
Ge0rG, I'm 100% fine with that approach, I don't want to burden Council (though perhaps some one-off initiative to skim and clean up a backlog of deferred XEPs may be warranted)
jonas’
which is kind of a must-have to judge ProtoXEPs
jonas’
and it’s not *that* much workload, is it?
MattJ
Ge0rG, I lean towards LC requiring an explicit action from someone (author or implementer, or any member perhaps)
Ge0rG
jonas’: so let's assume we have a look at a random deferred XEP a week. What's the expected outcome?
Ge0rG
MattJ: +1
Zash
O(n+1) == O(n) right? :)
Ge0rG
MattJ: I'm not absolutely opposed to "any member", but I also don't see the point
Half-ShotXhas left
jonas’
Ge0rG, one of "it needs work by author, blacklist for random looking at until it was Un-deferred", "it should be LC’d, issue an LC"
Kev
I'm missing the context here (and no time to scroll back). This isn't what the procedure is for going to LC (which is well defined, I think), but how to make Council consider something for LC?
Ge0rG
Kev: exactly
MattJ
Kev, correct
jubalhhas left
Ge0rG
Kev: the rules are that Council can issue an LC, but we probably won't do that on our own
Kev
And 'someone asks Council to consider it' isn't enough?
Ge0rG
Kev: not documented
MattJ
Kev, that part isn't documented
Kev
Does it need to be?
Ge0rG
jonas’: "it needs work by author" is implicit, and "work by author" might well be "ask for LC"
MattJ
Kev, given a large number of deferred implemented XEPs, I'd say yes
Ge0rG
jonas’: also the author might have a large modification pending, so issuing an LC might well be counterproductive
Kev
MattJ: You believe XEP1 saying "Council will consider LCing when someone asks them to" would cause that not to happen?
Ge0rG
which is also why I'm opposed to "any member might ask for an LC" and tend to restrict that to author/implementor
Ge0rG
Kev: 🍿
intosihas left
MattJ
Kev, no, but it's a start
Half-ShotXhas left
Kev
Ge0rG: I don't see a reason to limit the number of people able to ask for an LC. You give reasons for an LC not to be issued, not for it to not be considered.
Kev
(3 negations in a sentence. Take that English non-natives)✎
Kev
(3 negations in a sentence. Take that, English non-natives) ✏
Ge0rGhas left
Guus
we'll be impressed at 4+, Kev - this is not amateur hour.
Guus
(we shall also be simply guessing as to what you're trying to say at that point)
Kev
I couldn't possibly disagree with you less.
Kev
MattJ: FWIW, I don't think the issue of stuff being Deferred is that people are sitting there thinking "Well, I'd like to get this into a Last Call, but I don't think I'm able to ask for that", so I'm not sure that changing Xep1 here helps in any significant way, but I also can't see why adding "Council will consider LCs when asked" should be harmful.
MattJ
Kev, I don't think they are actively thinking that, but I don't think it's either clear to anyone that this is what needs to happen
MattJ
That's the subtle difference between what you're suggesting I believe and what I actually believe
Kev
I think putting something into xep1 is a fairly inefficient way of getting it into the collective consciousness. Xep1 is great as a 'how do I' but otherwise I don't think people usually memorise it.
MattJ
Yes, I definitely agree with that - but as I said, it's a start
MattJ
If we agree that this is what the process looks like, let's make sure it's documented in XEP-0001
Kev
I think a more effective start might just be mailing standards@ saying "Anything that should be LCd?".
MattJ
and then we can move onto the collective consciousness
danielhas joined
MattJ
Yes, that is sensible too
mtavareshas joined
Kev
It might be highly informative to ask Authors of Experimental or Deferred XEPs what they think is preventing advancement at the moment.
Half-ShotXhas left
Guus
I wonder if many XEPs slide off to "deferred" as a consequence of us being 'done discussing' without an explicit "ok, let's advance it" comment.
Andrew Nenakhovhas joined
!xsf_Martinhas joined
Guus
I like Kev's idea of a poll of sorts.
Ge0rG
Kev [14:07]:
> It might be highly informative to ask Authors of Experimental or Deferred XEPs what they think is preventing advancement at the moment.
Is that kind of a Last Call?
MattJ
Heh
j.rhas joined
Ge0rG
XEP-0379 is largely ready, except for the boilerplate, but it seems nobody cares enough.
Kev
Ge0rG: An anti-LC, yes.
Guus
would it be helpful to have an (automated) "so, what's next for this XEP?" question go out to an auther/memberlist X days after a state change?
Ge0rG
Kev: anti as in anticipation?
efrithas left
Ge0rG
Guus: yes. I propose after six months of no activity
It might actually be useful to have something like the Tao Of The XSF. An explanatory guide to the workings of the XSF which is a companion to XEP-0001, rather than trying to formally codify everything.
Half-ShotXhas left
MattJ
+1
Half-ShotXhas left
Half-ShotXhas left
Half-ShotXhas joined
Kev
We have The Tao of XMPP, don't we?
Kev
Or does it not fit in there?
dwd
I made https://github.com/xsf/xeps/issues/733, but I now realise I can't set the "Needs Council" label on it.
Andrew Nenakhovhas joined
dwd
Help me, jonas’ - you're my only hope.
Kev
Not strictly true.
Kev
Or, maybe true outside the context of this desire.
dwd
:-)
j.rhas joined
tuxhas joined
Ge0rGhas joined
Half-ShotXhas left
Andrew Nenakhovhas left
thorstenhas left
intosihas left
intosihas joined
Half-ShotXhas joined
pep.
When is the summit dinner thing happening again? Is it Thursday or Friday or none of the above?
Guus
Thursday
thorstenhas joined
pep.
Also dinner means evening right? I know quite a few English people using it to say lunch
Ge0rG
The one time I attended Summit dinner, it was in the evening
MattJ
:)
Guus
Yes, evening
Guus
During the day, we lunch at Cisco
olihas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
marc_has joined
Half-ShotXhas left
Half-ShotXhas joined
Half-ShotXhas left
j.rhas joined
neshtaxmpphas left
neshtaxmpphas left
ThibGhas joined
ThibGhas joined
Yagizahas left
!xsf_Martinhas joined
moparisthebesthas left
Half-ShotXhas joined
andyhas left
stevenhas left
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Half-ShotXhas left
Half-ShotXhas joined
Half-ShotXhas left
Half-ShotXhas joined
jonas’
dwd, hm, I’m not sure I’m fond of xsf/xeps being used as tracker for council
jonas’
although one could argue that this issue is very close to a PR
dwd
I understand your concern, but think of it this way - once voted on, the issue is for the Editors to act upon.
jonas’
true
Guus
dwd, wanna reclaim your throne at IRF? 🙂
Guus
(chat now)
Guus
or meet, rather
Andrew Nenakhovhas left
neshtaxmpphas joined
olihas joined
Kev
jonas’: I think it's requesting a change to the XEPs.
Kev
(Just one that Council must first approve)
Kev
So it doesn't seem desperately inappropriate, to me.
jonas’
I agree
Half-ShotXhas left
Andrew Nenakhovhas joined
alexishas joined
lumihas joined
labdsfhas left
labdsfhas joined
krauqhas joined
alexishas left
alexishas joined
alexishas left
alexishas joined
krauqhas joined
Half-ShotXhas joined
Holgerhas left
efrithas left
efrithas joined
alacerhas joined
Half-ShotXhas left
Half-ShotXhas joined
Annhas joined
lovetoxhas joined
Annhas left
Half-ShotXhas left
Half-ShotXhas joined
Half-ShotXhas left
Half-ShotXhas joined
olihas joined
Annhas joined
nycohas left
nycohas joined
peterhas joined
j.rhas joined
thorstenhas left
lumihas left
Zashhas left
lumihas joined
alacerhas left
thorstenhas joined
ralphmhas joined
alexishas joined
danielhas left
danielhas joined
Half-ShotXhas left
alexishas joined
Guushas joined
Guushas joined
Guushas joined
Half-ShotXhas joined
j.rhas joined
alexishas left
alexishas joined
sezuanhas left
Nekithas left
Nekithas joined
Half-ShotXhas left
alacerhas joined
alexishas left
alexishas joined
krauqhas joined
krauqhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Half-ShotXhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
alacerhas left
alacerhas joined
alexishas joined
lnjhas joined
alexishas left
alexishas joined
ThibGhas joined
alacerhas left
alacerhas joined
olihas left
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
jonas’
MattJ, from XEP-0335:
> The <json> element MUST only contain character data, and the data MUST conform to RFC 4627 [3]. Specifically, the element MUST NOT be empty, as the empty string is not valid JSON. The data MUST be encoded as UTF-8 (though officially unspecified, this is the de facto encoding for JSON today).
jonas’
this wording does not make sense
jonas’
XML character data is a sequence of codepoints
Andrew Nenakhovhas left
jonas’
you can’t put UTF-8 into a sequence of codepoints in a way which makes sense
Andrew Nenakhovhas joined
MattJ
Spoken like a true Python developer :)
jonas’
don’t make me say unfriendly things ;-)
MattJ
I think you have a slight technical argument, but I don't know if just dropping this text is the right thing to do
MattJ
Given that there is no standard encoding for JSON, and XMPP is defined as always UTF-8
rionhas left
olihas left
MattJ
It seems like something that ought to be highlighted
jonas’
no
jonas’
the XML library will give you the character data in whatever encoding is convenient for your language
MattJ
XMPP is defined as always UTF-8
Kev
You're both correct.
MattJ
and this XEP concerns XMPP, not your language
peter
Unicode codepoints need to be encoded somehow. I can write [U+13DA] [U+13A2] [U+13B5] [U+13CB] [U+13A2] [U+13CB] [U+13D2] on a piece of paper and those are Unicode codepoints, but that's not helpful to a computer.
jonas’
MattJ, what happens on the byte level is irrelevant to the XEP
Ge0rG
Hi peter! I have a task for you!
MattJ
Ge0rG, unfair!
Guushas left
Kev
You'll get it in some arbitrary encoding depending how unhelpful your language/libs are. But what is written on the wire is UTF-8 encoded.
Ge0rG
> what happens on the byte level, stays on the byte level
jonas’
Kev, exactly
jonas’
and that’s why it doesn’t make sense to specify what encoding the JSON data inside the <json/> is in.
Kev
And the XEP is saying (as I read it) that when you serialise these data, you must serialise them as UTF-8. I don't see a problem with that.
jonas’
it is not at all encdoed, on a logical level, between the JSON output and the input to the XML library
Ge0rG
it's UTF-8 *below* XMPP, and _implementation defined_ *above* XMPP.
Kev
It's just being consistent with XMPP.
jonas’
Kev, then it should simply omitted
Kev
Also, Hi Peter.
jonas’
to avoid confusion
MattJ
jonas’, what confusion could arise?
jonas’
and to avoid people in laguages which make that type of mistake easy double-UTF-8-encoding the data.
Kev
jonas’: If we ommitted all the bits from specs that people /should/ realise, we'll end up in a terrible terrible place :)✎
Kev
jonas’: If we omitted all the bits from specs that people /should/ realise, we'll end up in a terrible terrible place :) ✏
efrithas left
olihas left
jonas’
info which would be *useful* to implementors would be:
> The <json> element MUST only contain character data, and the data MUST conform to RFC 4627 [3]. Specifically, the element MUST NOT be empty, as the empty string is not valid JSON. Implementations should take care to ensure that the JSON encoder and the XML library use the same character encoding on the interface between them.✎
jonas’
info which would be *useful* to implementors would be:
> The <json> element MUST only contain character data, and the data MUST conform to RFC 4627 [3]. Specifically, the element MUST NOT be empty, as the empty string is not valid JSON. Implementations must ensure that the JSON encoder and the XML library use the same character encoding on the interface between them. ✏
jonas’
(intentional lower-case "must" since it doesn’t happen on the wire)
Kev
That text seems less helpful to me.
jonas’
I could be using an XML library which uses arrays of 4-byte integers to represent the character data. putting UTF-8 encoded JSON in there will not work.
jonas’
(or I could be in JavaScript, where all strings are UTF-16, the worst of all worlds)
Kev
Nor does the XEP suggest it should.
Kev
Just that what's written on the wire is UTF-8.
jonas’
no, I don’t read it that way
jonas’
it is talking about character and JSON data all the time
jonas’
that’s definitely above the XML layer
jonas’
(read: after the UTF-8 from the wire has been decoded into a representation of unicode codepoints chosen by the library)
Ge0rG
That XEP is missing the most obvious example of `{"evil":"</json>"}`
Ge0rG
I agree with jonas’' reading here. The XEP requires that you put the JSON library output UTF-8 bytestring into the character stream of the XMPP library input.
jonas’
which is either resulting in a TypeError (Python3, maybe others), or double-encoded garbage. which will only be noticed once you leave the ASCII range.
Kev
AFAICs, this text stops you doing something stupid like encoding UTF-16 JSON into UTF-8 XML character entities, and then the receiver trying to decode the JSON as UTF-8.
MattJ
Ge0rG, I don't think it's saying that at all
jonas’
Kev, what are UTF-8 XML character entities?
jonas’
the XEP should not be telling me how to use my XML library.
Kev
I mean byte encodings :p
MattJ
and I disagree that it's doing any such thing
Ge0rG
MattJ:
> The <json> element MUST only contain character data [...]. The data MUST be encoded as UTF-8
MattJ
Ge0rG, where does it say "that you pass to your XML library"?
Ge0rG
MattJ: in the first part I quoted.
jonas’
MattJ, if this is not about what is passed to the XML library, the sentence is at the wrong place, and confusing (as you can tell by our two readings)
peterwanders off for 3 hours of video meetings, bbl
ralphm
Well, since I was co-responsible for the creation of the XEP, it should be like this in Python 3: the `str` serialization of JSON should be used as the XML text node contents.
Ge0rG
peter: awwww....
jonas’
(the right place is RFC 6120, where it’s already written down)
jonas’
ralphm, that’s "obvious", but I don’t think that’s the only valid (and likely) interpretation of the text.
ralphm
So yes, it is about unicode code points vs. UTF-8, and only a handfull of people really understand the difference
jonas’
we should really link https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/ from all the XEPs.
Ge0rG
ralphm: right. And making incorrect claims in the XEP won't improve that.
ralphm
I await the PR
Ge0rG
I suggest adding an implementation note box saying that JSON libraries typically work with UTF-8, which also happens to be the encoding _underlying_ XMPP
Kev
jonas’: Weren't you arguing that stuff people should realise shouldn't be included in XEPs?
jonas’
Kev, no, that’s not what I was trying to say
jonas’
what I was trying to say is that XEPs operate on top of RFC 6120 XMPP (unless they modify core behaviour, like XEP-0138, or something like that). Thus, we’re dealing with the application side of XML. Thus, the encoding of the data *on the wire* is 100% irrelevant to what the XEPs are doing.
jonas’
we could change RFC 6120 to mandate UTF-16 with surrogates and it should not change the wording of a XEP which operates on a high level such as XEP-0335
ralphm
If you want to be really pedantic, you should also say that we're talking about the XML line protocol with TCP binding for XMPP.
jonas’
because the XML library has already taken care of converting the encoding from the wire to whatever is useful in the language
Annhas left
jonas’
Kev, just like you wouldn’t be saying that you have to escape < to <. It’s implied in "you’re using XML, and you’re putting something into XML character data".
ThibGhas joined
Ge0rG
jonas’:
> That XEP is missing the most obvious example of `{"evil":"</json>"}`
Kev
Oh, but I might say something like that (although not that specific example, obviously), if we were talking about delivering XML payloads inside XMPP.
Ge0rG
if you don't bring that example, people will string-concatenate the JSON to the XML.
Kev
Which is a thing that happens and catches people out
ralphm
So let's go with making sure that once serialized into UTF-8, the application programmer should make sure it is correctly decoded into the in-memory text format that should be the import of its XML library's text nodes.
vanitasvitaehas left
jonas’
Kev, you could do that by saying "encode the XML payload to text and put that text into a XML text node"
j.rhas joined
Ge0rG
ralphm: which is a convoluted way to say what jonas’ suggested as the alternative wording ;)
ralphm
Ge0rG: you can't prevent people from doing string-concatenation anyway.
jonas’
the library will do all the escaping needed to transport text.
pep.
ralphm, no but that example can raise some awareness
Ge0rG
pep.: 👍
Kev
"the library" - I think you're assuming particular implementations.
jonas’
ralphm, I suggested to modify the paragraph to:
> The <json> element MUST only contain character data, and the data MUST conform to RFC 4627 [3]. Specifically, the element MUST NOT be empty, as the empty string is not valid JSON. Implementations must ensure that the JSON encoder and the XML library use the same character encoding on the interface between them.
ralphm
also ]]>
Ge0rG
Kev: aren't you assuming particular implementations if you imply that the XMPP parser will emit UTF-8 for the element content?
jonas’
Kev, no, that ("XML character data is an array of codepoints") XML Standard behaviour.
Kev
And also, there's nothing wrong with string concatenation.
Kev
jonas’: Yes. You're assuming that XMPP data is coming out of an XML library. No reason it needs to be (and it often isn't).
Ge0rG
Kev: string concatenation of structured data is what gets my dinner paid.
jonas’
Kev, no, I am assuming XMPP operates on top of XML
jonas’
and I sure hope that assumption is not wrong.
Ge0rG
jonas’: luckily, you only need to convince one Council member ;)
Kev
What does 'on top of XML' mean?
Ge0rG
that XMPP is a higher-level abstraction, and its underlying abstraction is a stream of XML
Kev
You said about 'the library' doing things for you, I'm just pointing out that there need be no 'XML libraries' involved in serialising XMPP.
jonas’
Kev, I grant you that
jonas’
aioxmpp itself isn’t using any XML library to serialise it
jonas’
so let me reword things
jonas’
> The <json> element MUST only contain character data, and the data MUST conform to RFC 4627 [3]. Specifically, the element MUST NOT be empty, as the empty string is not valid JSON. Implementations must ensure that the JSON data is encoded in a format suitable for transporting character data with the underlying XML implementation.
Ge0rG
> Specifically, the element MUST NOT be empty
What about a string containing only whitespace?
Annhas joined
pep.
Ge0rG, in json? that would be " "?
jonas’
Ge0rG, one thing at a time, maybe?
Ge0rG
jonas’: I liked your first suggestion better.
jonas’
I could also use the first suggestion and s/library/implementation/
MattJ
Personally I think I'd rather just drop it
jonas’
MattJ, I’d be fine with that, too
Ge0rG
pep.: no, I don't mean a JSON string containing only whitespace, I mean something like `<json> </json>`
Ge0rG
jonas’: +1 for "implementation"
winfriedhas joined
Annhas left
!xsf_Martinhas joined
olihas left
Nekithas left
Nekithas joined
olihas left
dwd
I find that last sentence about implementations and encodings more confusing than it's worth.
peter
I might also suggest reading https://tools.ietf.org/html/rfc6365 on these topics
ralphm
Ah yes
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
ralphmhas left
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Half-ShotXhas left
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
dwd
Why not: The <json/> element MUST only contain character data, and the data MUST conform to JSON text as defined by RFC 4627.
dwd
(JSON text is defined in terms of codepoints via ABNF, and is thus prior to the encoding defined in §3 of RFC 4627)
jonas’
dwd, that sounds very useful
lumihas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Half-ShotXhas joined
Andrew Nenakhovhas left
tahas joined
Andrew Nenakhovhas joined
Zashhas left
alexishas left
alexishas joined
stevenhas left
peter
https://tools.ietf.org/html/rfc8259 is the most up-to-date JSON RFC
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
dwdhas left
ThibGhas left
ThibGhas joined
labdsfhas left
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
ThibGhas left
ThibGhas joined
olihas left
rionhas joined
j.rhas joined
mrDoctorWhohas joined
alexishas left
alexishas joined
Marandahas joined
tahas left
ühoreghas joined
Half-Shothas joined
benpahas joined
Matthewhas joined
efrithas joined
ThibGhas left
Half-ShotXhas left
thorstenhas left
thorstenhas joined
labdsfhas joined
ThibGhas joined
alexishas left
alexishas joined
tuxhas joined
marc_has left
Steve Killehas left
Steve Killehas left
labdsfhas left
sezuanhas left
wheatleylaboratorieshas joined
wheatleylaboratorieshas left
frainzhas left
Half-ShotXhas left
Half-ShotXhas left
stevenhas left
stevenhas left
Yagizahas joined
Half-ShotXhas left
efrithas left
alacerhas left
Steve Killehas joined
mtavareshas left
mtavareshas joined
danielhas left
labdsfhas joined
efrithas joined
danielhas joined
Ge0rGhas left
labdsfhas left
labdsfhas joined
Marandahas joined
lumihas left
alexishas left
alexishas joined
moparisthebesthas joined
rionhas left
efrithas left
alexishas joined
jcbrandhas joined
jcbrandhas left
labdsfhas left
labdsfhas joined
rionhas left
ThibGhas left
ThibGhas joined
dwdhas left
stevenhas left
mimi89999has left
frainzhas joined
APachhas left
stevenhas left
rionhas left
alexishas left
alexishas joined
tuxhas joined
tuxhas joined
rionhas left
rionhas left
Guushas left
alexishas joined
tuxhas left
tuxhas joined
benpahas joined
ühoreghas joined
Half-Shothas joined
_purple_bothas joined
Matthewhas joined
alexishas joined
sezuanhas left
olihas joined
frainzhas left
alexishas joined
olihas left
oli
is anyone using that json stuff?
oli
within xmpp i mean
peter
I've been hearing a lot about JSON recently. ;-)
alexishas joined
stevenhas left
Ge0rG
The J in JSON is for Jabber!
stevenhas left
Ge0rG
Or was it the other way around?
Ge0rG
Like the X in Matrix is for XMPP
alexishas left
peter
Ge0rG: What was the topic you wanted to discuss earlier?
alexishas joined
labdsfhas left
Ge0rG
Monolithic Awfully Trendy Re-Implementation of XMPP
peter
ah
Ge0rG
peter: I've asked for a trademark permit some time ago
peter
I haven't followed that project and don't know much about it.
peter
Ge0rG: I sent you an email reply about that perhaps an hour ago. :-)
oli
i've got a notification from yxim, because the is an oli in monolithic
Ge0rG
peter: only to later realize that you need the 500$ license for an organization, regardless of the legal form.
Ge0rG
peter: oh cool, haven't checked yet, will do
peter
Ge0rG: OK good.
sezuanhas left
peter
And yes, best to avoid the organization route if possible. I don't see that it's necessary in this case.
peter
Ralph and Guus pinged me about on our video chat earlier.
Half-ShotXhas left
peter
Anyway, see email for details.
Ge0rG
peter: SPAM is a backronym for Spam Prevention and Abuse Management, which is a rather ironic thing and I liked it very much for that reason
Link Mauve
I haven’t read the 1644 lines of backlog yet (sorry!), but I’ve been wondering whether we should buy a Jabber license for JabberFR too; $500 is way too expensive for us, but we’ve been running the service since approximately 2003 (at least that’s as far the wayback machine takes us).
Ge0rG
peter: it's a group of projects related to spam fighting, so an organization seemed most appropriate, but I'm not fixed to that
peter
Ge0rG: Just trying to make it simpler for you. :-)
peter
Link Mauve: not necessary - domains do not require a license, that's fair use.
We’re not only using it for the domain, it’s the entire name of the association (French law 1901).
Ge0rG
peter: sometimes I'm deliberately not going the most simple route. Unless by simpler you implied cheaper... 😉
peter
I realize those pages are written in a somewhat confusing way. We "borrowed" all of that from the Linux Foundation many many years ago.
peter
Link Mauve: ah, interesting, I didn't realize that.
rionhas left
Ge0rG
peter: so in the end the decision about trademark use is up to Board?
peter
yes
peter
I just know a lot about the trademark. They make the decisions. :-)
peter
Time for my next video conference, bbiab.
Ge0rG
peter: good luck!
olihas left
oli
just don't use jabber, this trademark sucks
Ge0rG
But the name is much better than "ex MP pee", and I can't afford to sponsor a re-branding for the whole thing.
Half-ShotXhas left
oli
may we ask the board to drop the trademark?
oli
or the licensing fee?
lovetoxhas left
Half-ShotXhas left
Ge0rG
oli: the Trademark belongs to Cisco, after they bought Jabber Inc, a very long time ago. The XSF merely has a right to sub-license it. Please read up the Trademark pages on xmpp.org
oli
ah okay, i missed the cisco part
oli
so jabber is owned by evil corp
oli
too bad
Ge0rG
oli: it's complicated™
nycohas left
alexishas left
lovetoxhas joined
Guus
What a bundle of joy here. 😀
alexishas joined
Guus
Ge0rG: even though the decision lies with board, Peter has by far most experience here. Board is likely to pay close attention to his recommendations.
Ge0rG
Guus: I wouldn't have expected anything less
Half-ShotXhas left
Ge0rG
But I don't know yet how to turn "don't make your org an org" into something actionable
Ge0rG
Guus: do I need to do something or is Board in a position to move things forward now?
Half-ShotXhas left
Half-ShotXhas left
frainzhas joined
Nekithas joined
jonas’
where does the information with the $500 come from?
Guus
Ge0rG: as an organisation? I'm unsure if it can be avoided to charge you then.
!xsf_Martinhas left
jonas’
because I cannot find it on https://xmpp.org/about/xsf/jabber-trademark/usage-guidelines
Guus
jonas’: website. That lists the trademark licence process
I believe that there's more, but I'm tired and on mobile
jonas’
I am confused
Ge0rG
Guus: if changing my application type from organization to ??? will allow me to subvert the license payment, this brings up some uncomfortable questions.
Ge0rG
jonas’: checked the quote on trello already?
jonas’
what is the difference between use in a software name under the GPL (§2.1 in https://xmpp.org/about/xsf/jabber-trademark/usage-guidelines ) and in an non-profit org name (§2.2 same document)?
jonas’
no
Ge0rG
jonas’: ah, you found it
jonas’
I see, where is that quote from?
jonas’
(this one:
>
There is no fee required for software and other products licensed under an OSI approved open source license. Otherwise, the fee is $250.00 for use of the mark in connection with Jabber accessories or any use other than software or computer hardware, and a $500.00 one-time fee for use in connection with software or computer hardware or any other type of computer or Internet use of the Jabber mark.
)✎
jonas’
(this one:
> There is no fee required for software and other products licensed under an OSI approved open source license. Otherwise, the fee is $250.00 for use of the mark in connection with Jabber accessories or any use other than software or computer hardware, and a $500.00 one-time fee for use in connection with software or computer hardware or any other type of computer or Internet use of the Jabber mark.
) ✏