3 ms·
XML is a perfectly serviceable data exchange format. The parsers and serializers work great when used properly. It's nice to have schema. But I think people ju
by crispyambulance 7y ago
XML is a perfectly serviceable data exchange format. The parsers and serializers work great when used properly. It's nice to have schema.
But I think people just got sick of XML because it was abused so badly with "web services", SOAP, wsdl and all those horrible technologies from the early naughts. Over-complicated balls of mud that made people miserable.
- eknkc 7y agoApple's plist format might be the weirdest abuse of XML as far as I can tell. The SOAP envelopes and shit like that were horrible but plist is plain weird. Everyone abused XML some way or another. JSON is not that "abusable" I'd say.
- amaccuish 7y agoPLIST is pretty flexible though, the underlying storage can be XML, binary or even JSON now.
- cellularmitosis 7y agoImplementing a binary plist encoding on you REST endpoints is actually pretty great for iOS devices.
- nimish 7y agoXml is a beast to parse. It's slow to parse and verbose but it doesn't give you a human friendly text format. It's got a number of weird features inherited from sgml. Every parser needs a quirks mode since nobody can write good schemas and schema parsers. XML is a really bad interchange format. It's OK for a document markup language, and that's where it survives.