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

There's no reason why any of that couldn't be replicated with JSON, YAML or even with S-expressions.

To play the devil's advocate, one of the nice features of XML is schemas.

The reason why complex formats with validation etc. don't really work out is that they are most often used for data in transit as opposed to data at rest. The correct format for typed data at rest that conforms to a schema is a SQL database and that won't change any time soon. If you're working with data in transit, schemas, validation etc. are more trouble than they're worth.



There's no reason why it couldn't be replicated, but it isn't - at least, not in any way with broad traction. It's not useful to compare something that could exist but doesn't with something that not only exists but is universal in its ecosystem. That universality is a feature in itself.




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

Search: