3 ms·
xml is too complicated and too easy to get wrong - try consuming rss feeds and the amount of malformed xml you'll find is astounding - people basically template
by mattbillenstein 7y ago
xml is too complicated and too easy to get wrong - try consuming rss feeds and the amount of malformed xml you'll find is astounding - people basically template xml, so you'll get just bad syntax and text encoding problems.
json avoids these pitfalls and people mostly just use a lib to generate it from native data structures, so it's almost always well-formed.
- datalist 7y agoIf you have a malformed JSON, that will break too. So the issue is not with the syntax but - if - with the tools, respectively as often with the - pardon for being blunt - people's incompetence.