4 ms·
I agree that there is nothing inherently wrong with XML, the problem is with the way it is used. I have worked with great XML schemas, and terrible ones also. A
by fodkodrasz 3y ago
I agree that there is nothing inherently wrong with XML, the problem is with the way it is used. I have worked with great XML schemas, and terrible ones also. Also the XML APIs in the programming languages are a bit dated, and oftentimes a bit cumbersome to use. Yet the standard API to support not only DOM style, but streaming parsing is also a great thing, should you have to process several gigabytes large XML files at one time on your career (as I had to).
- magicalhippo 3y ago> I agree that there is nothing inherently wrong with XML, the problem is with the way it is used. Right, but the spec allows for so many different ways of using it, that you end up with lots of variations in how it's done. I've mulled over these choices myself when trying to come up with a XSD spec, and I wish I could slap that idiot who wrote the last XSD spec around with a large trout (that idiot being past me). While you can do a lot of weird things with JSON as well, the syntax is more restrictive and naturally leads to fewer variations.