Post Axn6EMqSutorw46Stk by badrihippo@fosstodon.org
 (DIR) More posts by badrihippo@fosstodon.org
 (DIR) Post #Axn6EMqSutorw46Stk by badrihippo@fosstodon.org
       2025-09-02T08:27:08Z
       
       1 likes, 0 repeats
       
       I just realised that the two protocols I consider to be most underrepresented in public consciousness, #XMPP and #RSS, are both based on #XML! 😮Is it a cultural thing? 👀
       
 (DIR) Post #Axn71X5Pd4qNt4XRMe by praveen@social.masto.host
       2025-09-02T08:31:48Z
       
       0 likes, 0 repeats
       
       @badrihippo may be developers moved on to json ? Apparently that is easier to work with
       
 (DIR) Post #Axn71YfFlJ6imWJZrs by lanodan@queer.hacktivis.me
       2025-09-02T09:15:27.147824Z
       
       1 likes, 0 repeats
       
       @praveen @badrihippo They kind of do different things, like JSON is okay for client-server APIs where format extension is centralized in a way or another, but XML is still something you'd want when you have an ecosystem of different software.And XML is also pretty good when you need fallbacks to ultimately plaintext when an extension isn't recognized, XMPP uses this to display an informative message to the client (like when OMEMO isn't supported).
       
 (DIR) Post #Axn7HItWA6RKVOUkbY by sun@shitposter.world
       2025-09-02T09:19:08.490146Z
       
       2 likes, 1 repeats
       
       @lanodan @badrihippo @praveen xml has namespace and schema support built in alreadyAll that shit is badly bolted on to json because people anted something simpler before they realized their problems weren’t simple and they should have just skilled up and learned xml
       
 (DIR) Post #AxnmLB6x8dKTe2kGmm by lanodan@queer.hacktivis.me
       2025-09-02T16:59:00.794842Z
       
       0 likes, 0 repeats
       
       @badrihippo @dragnucs @sun @praveen Nah, XML (and it's parent SGML) allows things like this:<object type="video/mp4" data="hello.mp4" >    Your browser doesn't supports MP4 video:   <a href="hello.mp4">direct link to hello.mp4</a></object>And the software will fallback to the inner nodes even when it has no idea what <object> is. This kind of technique is also how you could do transitions from HTML4/XHTML1 to (X)HTML5 without breaking everything.  And also how <ruby> elements were explicitly made so software without support for them still have the same amount of information.JSON fundamentally can't do this kind of thing.