jdev - 2021-11-05


  1. sonny has joined

  2. Kev has left

  3. Kev has joined

  4. Kev has left

  5. Kev has joined

  6. paul has left

  7. qrpnxz has left

  8. qrpnxz has joined

  9. qrpnxz has left

  10. qrpnxz has joined

  11. qrpnxz has left

  12. qrpnxz has joined

  13. qrpnxz has left

  14. qrpnxz has joined

  15. qrpnxz has left

  16. qrpnxz has joined

  17. qrpnxz has left

  18. qrpnxz has joined

  19. qrpnxz has left

  20. qrpnxz has joined

  21. qrpnxz has left

  22. qrpnxz has joined

  23. qrpnxz has left

  24. qrpnxz has joined

  25. xecks has left

  26. qrpnxz has left

  27. qrpnxz has joined

  28. qrpnxz has left

  29. qrpnxz has joined

  30. qrpnxz has left

  31. qrpnxz has joined

  32. emus has left

  33. qrpnxz has left

  34. qrpnxz has joined

  35. marc0s has left

  36. marc0s has joined

  37. qrpnxz has left

  38. qrpnxz has joined

  39. stpeter has left

  40. debacle has left

  41. qrpnxz has left

  42. qrpnxz has joined

  43. qrpnxz has left

  44. qrpnxz has joined

  45. Pete has left

  46. wurstsalat has left

  47. marc0s has left

  48. marc0s has joined

  49. Pete has joined

  50. mac has joined

  51. mac has left

  52. Apollo has left

  53. 9lakes has left

  54. bung has left

  55. mac has joined

  56. Kev has left

  57. Kev has joined

  58. Kev has left

  59. Kev has joined

  60. Kev has left

  61. Kev has joined

  62. jgart has left

  63. kikuchiyo has left

  64. jgart has joined

  65. kikuchiyo has joined

  66. jgart has left

  67. marc0s has left

  68. marc0s has joined

  69. sonny has left

  70. sonny has joined

  71. atomicwatch has joined

  72. jgart has joined

  73. Kev has left

  74. Kev has joined

  75. dezant has left

  76. dezant has joined

  77. Yagizа has joined

  78. Kev has left

  79. Kev has joined

  80. kikuchiyo has left

  81. kikuchiyo has joined

  82. sonny has left

  83. sonny has joined

  84. sonny has left

  85. sonny has joined

  86. me9 has joined

  87. paul has joined

  88. marc0s has left

  89. marc0s has joined

  90. msavoritias has joined

  91. malthe has joined

  92. me9 has left

  93. Yagizа has left

  94. Yagizа has joined

  95. 9lakes has joined

  96. mac has left

  97. malthe has left

  98. kikuchiyo has left

  99. antranigv has left

  100. antranigv has joined

  101. antranigv has left

  102. moparisthebest has left

  103. moparisthebest has joined

  104. Alex has joined

  105. wurstsalat has joined

  106. Kev has left

  107. Kev has joined

  108. pulkomandy has left

  109. pulkomandy has joined

  110. atomicwatch has left

  111. pulkomandy has left

  112. Apollo has joined

  113. goffi has joined

  114. lovetox

    c14n do i need that in xmpp? do i need to read up on thatß

  115. lovetox

    c14n do i need that in xmpp? do i need to read up on that?

  116. dezant has left

  117. dezant has joined

  118. jubalh has left

  119. emus has joined

  120. flow

    I don't think so, although discussions around canonicalization come up once in a while

  121. flow

    but with stanza routing hops may injecting new elements, modifying or deleted existing ones, it's probably unrealistic that c14n is in any sensible in xmpp

  122. atomicwatch has joined

  123. marmistrz has left

  124. debacle has joined

  125. jgart has left

  126. spectrum has left

  127. kikuchiyo has joined

  128. spectrum has joined

  129. jgart has joined

  130. lovetox

    thanks

  131. marmistrz has joined

  132. xecks has joined

  133. antranigv has joined

  134. rafasaurus has left

  135. jgart has left

  136. Alex has left

  137. pasdesushi has joined

  138. Alex has joined

  139. Ge0rG has left

  140. serge90 has joined

  141. huhn has left

  142. Ge0rG has joined

  143. rafasaurus has joined

  144. Yagizа has left

  145. x51 has joined

  146. huhn has joined

  147. kikuchiyo has left

  148. kikuchiyo has joined

  149. lovetox

    hm

  150. lovetox

    how does xml:lang inheritence work with websocket?

  151. lovetox

    as every websocket frame is its own document i guess not at all

  152. marmistrz has left

  153. lovetox

    so am i supposed to add xml:lang to every message

  154. lovetox

    oh wow yes indeed thats how it works

  155. lovetox

    that breaks everything, now i dont even have a document, just lose elementes ...

  156. Zash

    Dould have been nice do define a websocket variant without that framing hack

  157. MattJ

    Yet people rejoiced at finally having framing, at the time

  158. MattJ

    and consider streaming the hack :)

  159. lovetox

    its just makes it really hard to abstract over these two different streaming methods

  160. lovetox

    ..

  161. flow

    maybe that's just another argument to not view the XMPP connection of an endless stream of an XML document, but instead a stream of individual XML elements: the XMPP top level stream elements

  162. Zash

    Hrrrrrrrr

  163. Kev

    flow: That's more or less what we do in M-Link, turn the document stream into a stream of top level elements. I imagine most things do the same.

  164. MattJ

    Yes

  165. debacle has left

  166. flow

    maybe that's just another argument to not view the XMPP connection as an endless stream of an XML document, but instead a stream of individual XML elements: the XMPP top level stream elements

  167. Apollo has left

  168. lovetox

    em ... im not even sure how to do this

  169. lovetox

    hm

  170. lovetox

    but then i lose all the nice things the parser does for me

  171. lovetox

    for example i need then to add jabber:client to all incoming stanzas

  172. lovetox

    i need to do the same with xml:lang

  173. lovetox

    if i treat it as a document, the xml parser does this all for me

  174. Zash

    Maybe you can do like what Prosody does, rewrite the websocket stream into an xmpp stream and parse that as usual

  175. lovetox

    yes, i plan to add a dummy <root> element

  176. lovetox

    i can even do <root xml:lang='en'>

  177. lovetox

    hm no i cant

  178. lovetox

    every stanza needs to be its own document ..

  179. lovetox

    ok lets leave websolcket broken for now :D

  180. Zash

    That does not sound like what prosody does.

  181. kikuchiyo has left

  182. flow

    lovetox, Smack wraps every top-level stream element in a synthesized <stream/> with the relevant attributes set. Since it's only a handful of attributes, it's pretty easy

  183. kikuchiyo has joined

  184. Alex has left

  185. flow

    of course, things get a little bit more complicated if you consider e.g. namespace declarations in <stream/>, but that should also be no show stopper

  186. Apollo has joined

  187. Zash

    Unless you rewrite `<open/>` into `<stream:stream>` and then feed everything into a normal stream parser

  188. Alex has joined

  189. mac has joined

  190. debacle has joined

  191. dezant has left

  192. Wojtek has joined

  193. malthe has joined

  194. marc0s has left

  195. marc0s has joined

  196. marc0s has left

  197. marc0s has joined

  198. Wojtek has left

  199. malthe has left

  200. dezant has joined

  201. marc0s has left

  202. marc0s has joined

  203. marc0s has left

  204. marc0s has joined

  205. mac has left

  206. kikuchiyo has left

  207. kikuchiyo has joined

  208. Wojtek has joined

  209. jonas’ has left

  210. flow

    Zash, what happens then?

  211. Zash

    You can pretend it's a normal XMPP stream and parse it as such

  212. mac has joined

  213. jonas’ has joined

  214. goffi has left

  215. jonas’ has left

  216. jonas’ has joined

  217. marc0s has left

  218. marc0s has joined

  219. goffi has joined

  220. Yagizа has joined

  221. huhn has left

  222. sonny has left

  223. sonny has joined

  224. Alex has left

  225. Alex has joined

  226. Yagizа has left

  227. jubalh has joined

  228. antranigv has left

  229. antranigv has joined

  230. mac has left

  231. antranigv has left

  232. sonny has left

  233. sonny has joined

  234. Yagizа has joined

  235. sonny has left

  236. sonny has joined

  237. Zash has left

  238. antranigv has joined

  239. antranigv has left

  240. antranigv has joined

  241. atomicwatch has left

  242. marc0s has left

  243. marc0s has joined

  244. Zash has joined

  245. rom1dep has left

  246. me9 has joined

  247. Vaulor has left

  248. Vaulor has joined

  249. marc0s has left

  250. marc0s has joined

  251. marc0s has left

  252. marc0s has joined

  253. rom1dep has joined

  254. kikuchiyo has left

  255. Apollo has left

  256. nephele has joined

  257. antranigv has left

  258. Apollo has joined

  259. atomicwatch has joined

  260. antranigv has joined

  261. antranigv has left

  262. antranigv has joined

  263. malthe has joined

  264. nephele has left

  265. malthe has left

  266. pasdesushi has left

  267. stpeter has joined

  268. x51 has left

  269. malthe has joined

  270. marc0s has left

  271. marc0s has joined

  272. pasdesushi has joined

  273. Alex has left

  274. Alex has joined

  275. stpeter has left

  276. serge90 has left

  277. pulkomandy has joined

  278. me9 has left

  279. serge90 has joined

  280. Yagizа has left

  281. pulkomandy has left

  282. pulkomandy has joined

  283. emus has left

  284. emus has joined

  285. malthe has left

  286. me9 has joined

  287. emus has left

  288. dezant has left

  289. stpeter has joined

  290. emus has joined

  291. antranigv has left

  292. antranigv has joined

  293. rafasaurus has left

  294. inky has joined

  295. pasdesushi has left

  296. pasdesushi has joined

  297. inky has left

  298. antranigv has left

  299. me9 has left

  300. marmistrz has joined

  301. pasdesushi has left

  302. stpeter has left

  303. pasdesushi has joined

  304. mac has joined

  305. nephele has joined

  306. rafasaurus has joined

  307. marc0s has left

  308. marc0s has joined

  309. stpeter has joined

  310. malthe has joined

  311. antranigv has joined

  312. stpeter has left

  313. PapaTutuWawa has joined

  314. nephele has left

  315. nephele has joined

  316. antranigv has left

  317. antranigv has joined

  318. stpeter has joined

  319. antranigv has left

  320. stpeter has left

  321. Wojtek has left

  322. malthe has left

  323. jgart has joined

  324. malthe has joined

  325. emus has left

  326. Apollo has left

  327. mac has left

  328. Apollo has joined

  329. edhelas has left

  330. edhelas has joined

  331. malthe has left

  332. Pete has left

  333. sonny has left

  334. sonny has joined

  335. Pete has joined

  336. paul has left

  337. paul has joined

  338. pasdesushi has left

  339. malthe has joined

  340. pasdesushi has joined

  341. malthe has left

  342. PapaTutuWawa has left

  343. edhelas has left

  344. edhelas has joined

  345. emus has joined

  346. Apollo has left

  347. malthe has joined

  348. Apollo has joined

  349. atomicwatch has left

  350. jgart has left

  351. jgart has joined

  352. edhelas has left

  353. edhelas has joined

  354. antranigv has joined

  355. malthe has left

  356. inky has joined

  357. atomicwatch has joined

  358. msavoritias has left

  359. qrpnxz has left

  360. qrpnxz has joined

  361. qrpnxz has left

  362. qrpnxz has joined

  363. msavoritias has joined

  364. nephele has left

  365. marc0s has left

  366. marc0s has joined

  367. marmistrz has left

  368. inky has left

  369. sonny has left

  370. sonny has joined

  371. antranigv has left

  372. sonny has left

  373. sonny has joined

  374. sonny has left

  375. sonny has joined

  376. raghavgururajan has joined

  377. Kev has left

  378. qrpnxz has left

  379. qrpnxz has joined

  380. qrpnxz has left

  381. qrpnxz has joined

  382. atomicwatch has left

  383. qrpnxz has left

  384. qrpnxz has joined

  385. qrpnxz has left

  386. qrpnxz has joined

  387. Kev has joined

  388. marc0s has left

  389. marc0s has joined

  390. Apollo has left

  391. Apollo has joined

  392. Kev has left

  393. marc0s has left

  394. marc0s has joined

  395. raghavgururajan has left

  396. qrpnxz has left

  397. qrpnxz has joined

  398. xecks has left

  399. qrpnxz has left

  400. qrpnxz has joined

  401. qrpnxz has left

  402. qrpnxz has joined

  403. Pete has left

  404. qrpnxz has left

  405. qrpnxz has joined

  406. malthe has joined

  407. malthe has left

  408. malthe has joined

  409. qrpnxz has left

  410. inky has joined

  411. qrpnxz has joined

  412. Apollo has left

  413. Apollo has joined

  414. qrpnxz has left

  415. qrpnxz has joined