The lost art of XML
marcosmagueta.com
The lost art of XML
1–10 of 179 posts
Re: The lost art of XML
#2Even with zipped payloads, it's just way unnecessarily chatty without being more readable.
Re: The lost art of XML
#3The industry abandoned both in favor of JSON and RPC for speed and perceived DX improvements, and because for a period of time everyone was in fact building only against their own servers.
There are plenty of examples over the last two decades of us having to reinvent solutions to the same problems that REST solved way back then though. MCP is the latest iteration of trying to shoehorn schemas and self-documenting APIs into a sea of JSON RPC.
Re: The lost art of XML
#4Maybe this is okay if you know your schema beforehand and are willing to write an XSD. My usecase relied on not knowing the schema. Despite my excitement to use a SAX-style parser, I tucked my tail between my legs and switched back to JSONL. Was I missing something?
Re: The lost art of XML
#5XML was abandoned because we realized bandwidth costs money and while it was too late to do anything about how verbose HTML is, we didn't have to repeat the mistake with our data transfer protocols. Even with zipped payloads, it's just way unnecessarily chatty without being more readable.
I remember the arguments largely revolving around verbosity and the prevalence of JSON use in browsers.
That doesn't mean bandwidth wasn't a consideration, but I mostly remember hearing devs complain about how verbose or difficult to work with XML was.
Re: The lost art of XML
#6Re: The lost art of XML
#7I didn't see any.
Re: The lost art of XML
#8XML was abandoned because we realized bandwidth costs money and while it was too late to do anything about how verbose HTML is, we didn't have to repeat the mistake with our data transfer protocols. Even with zipped payloads, it's just way unnecessarily chatty without being more readable.
Re: The lost art of XML
#9Re: The lost art of XML
#10XML did some good things for its day, but no, we abandoned it for very good reasons.