@bonifartius@icedquinn@gamer something you can do with XML that you can't do with JSON is, you can mix two document types and validate both of them. Like if you have say a document XML type embedded in an API document type.
@bonifartius@sun@gamer mostly because of a long series of people not understanding how it was intended to be used.
you were supposed to write shorthands and use sgml tools to convert it. "xml" was just meant to be a fixed format to convert all of those documents *to*. then java comes along and speaks XML, uses it for a lot of configs, and people come to associate XML with the penance factory that is Java.
@icedquinn@gamer@bonifartius anything at rest inside a system should be unambiguous xml but outside could be sgml if you want. sgml for html makes sense, xhtml is when you save it to a system. but people couldn't handle it so it's deprecated.