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

The really great thing about xml with XSD is the ability to validate the document really well.

I.e. having content matching regexps, so you can be sure version numbers are always \d+(\.\d+)* and does not have unexpected letters or spaces in it. That date values are in ISO format.

Very useful for APIs to 3rd parties as it now is very easy to catch most errors and provide an useful error message for them without having to code every check.



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

Search: