by crispyambulance · 6y ago · 0 comments
My personal belief is that XML was "good-enough" having been engineered for many use-cases and easy to comprehend for what it provides.
It's a tragedy that XML was abused so vigorously in the early naughts. People got so sick of it because they were compelled to edit XML manually in a text-editor with shitty to none schema support. It didn't help that the worst monstrosities of that era (soap and ws-* crap) heavily invested in turgid, badly designed XML.
I think that if there had been some more effort on tooling and good-practices, XML could have remained popular and we would not have had jason, yaml, and whatever awful thing is next.
One of the selling points of json is file size, xml started dying when people realized that more than half their bandwidth was going to xml structure rather than actual data
"Yet Another Markup Language (YAML) 1.0"
But also, I'm not wrong per the current version of the spec: https://yaml.org/spec/1.2/spec.html
"YAML Ain’t Markup Language (YAML™) Version 1.2"