|
|
|
|
|
by gschizas
443 days ago
|
|
> Sure, but does not XML have the exact same problem because everything is just a text? No, you can specify what type an attribute (or element) is in the XSD (for example, xs:dateTime or xs:date). And there is only one way to specify a date in XML, and it's ISO8601. Of course JSON schema does exist, but it's mostly an afterthought. |
|
But to my mind, whether they have a well-defined schema and follow proper datatypes really has very little to do with the choice of XML or JSON.