3 ms·
> the problem is that XML has prevented the adoption of something better What would be better?
by k__ 13y ago
> the problem is that XML has prevented the adoption of something better
What would be better?
- rbehrends 13y agoThat depends on your specific goals. But essentially, XML schemas are sort of like attribute grammars, except with an unnecessarily convoluted syntax, and yet more limited in their expressiveness than attribute grammars (because whatever constraints you need have to be procrusteanized into XML schemas). Even if you were to stick with XML semantics as is, you could improve the syntax to be actually readable and eliminate the angle bracket tax [1, 2]. [1] http://blog.codinghorror.com/xml-the-angle-bracket-tax/ http://blog.codinghorror.com/xml-the-angle-bracket-tax/ [2] http://blog.codinghorror.com/revisiting-the-xml-angle-bracket-tax/ http://blog.codinghorror.com/revisiting-the-xml-angle-bracke...
- groovy2shoes 13y agoI'm a fan of edn myself. https://github.com/edn-format/edn https://github.com/edn-format/edn
- draegtun 13y agoI think S-expressions would have been better. Alternatively Carl Sassenrath was pushing Rebol in the past. See his blog post "Was XML Flawed from the Start?" - http://www.rebol.com/article/0108.html http://www.rebol.com/article/0108.html Update: Just posted the above blog link to HN: https://news.ycombinator.com/item?id=7361260 https://news.ycombinator.com/item?id=7361260