4 ms·
XSD seem good for several reasons: validation, contract, auto-complete and documentation.
by CervezaPorFavor 12y ago
XSD seem good for several reasons: validation, contract, auto-complete and documentation.
- mqsiuser 12y agoJSON seems to be fine without (a "schema language") Why is that ? I know the answer: No-one ever requested it O.k. xsd uses XML and I just made the CASE AGAINST XML (itself) You may reduce XML to "elements only", but then still... Angle brackets "<" & ">" (markup) are BAD. Curly braces "{" & "}" are GOOD... ... because they just get used differently: < and > are markup (from HTML (SGML)) and enclose elements/tags/identifier. { and } are from set theory (math) and enclose data... a set (of things)
- pestaa 12y agoOh really? http://json-schema.org/ http://json-schema.org/ The industry seems to be going in circles. 15 years from now the new kids will hate JSON and hate JSON schema and all the complex JSON toolchain, and so they will reinvent the wheel.
- mqsiuser 12y agowho knows of it, who uses it ? There may be like circles (ofc... the circle of live ;), but not the same (different things are different :)