Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Then some of us realised JSON is actually too dumb for many things, and instead of going back to XML we made JSON Schema

XML has numerous different schema languages made for it, outside of the XML standard, because XML itself is just as “dumb” as JSON in this regard, and apparently no one got schemas exactly right for it. The holy wars over XML schema languages only faded when XML’s dominance did.

> OpenAPI

OpenAPI uses JSON and JSON Schema much as SOAP uses XML, but it doesn't prove JSON is “too dumb” any more than SOAP proves that XML is.



I don't know if SOAP caused it, but since it popularized, every single tool just assumes your XML is specified by a DTD, even though that's the one schema language that nobody ever liked.

I never saw a war. AFAIK nobody ever wanted to use DTDs, but that's what everybody used because it was what everybody used.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: