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.
[ Parent
| on HN ]
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.
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.
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).