News for hackers. Stuff that matters.
Re:XML is better than YAML by altcognito on Wednesday September 20, 2023 @11:22PM (#37592857)
I can’t help but agree that if we had just built better tools, xml would have had better adoption.
Re:XML is better than YAML by fzeindl on Wednesday September 20, 2023 @11:38PM (#37592949)
I find XML tool in general feature complete and great.

Especially editor integration works great as opposed to YAML which is so ambiguous that it IntelliJ IDEA constantly breaks indentation during copy and paste.

Re:XML is better than YAML by Spivak on Wednesday September 20, 2023 @11:29PM (#37592899)
And better conceptual docs because it's supposed to be that elements are complete deserializable objects. Having to resort to xpath as the default way of poking at XML where JSON has a good implicit default schema made XML feel so clunky.
Re:XML is better than YAML by wokkel on Thursday September 21, 2023 @02:54AM (#37594058)
At least xml has xpath ;-) the implicit Jason to object mapping has failed me on character encoding (no way to specify that in json). Stupid type errors (date/large numbers).
Re:XML is better than YAML by MenhirMike on Thursday September 21, 2023 @01:21AM (#37593485)
I actually think that XML has some of the best tooling in the entire industry. The problem is: It's mostly commercial tooling, which costs money. Stuff like Oxygen or XMetaL is pretty neat, and I always found Visual Studio's "Create Web Client from SOAP" pretty useful (especially if the Web Service is written in .NET, since it auto-generates a proper WSDL file).
Re:XML is better than YAML by pjmlp on Thursday September 21, 2023 @03:11AM (#37594180)
XML is all about tooling, but most FOSS folks insist in holding it wrong, editing XML files in vim/emacs.