[OSM-dev] XML Schema
Frederik Ramm
frederik at remote.org
Sat Nov 8 13:38:23 GMT 2008
Hi,
Hugh Barnes wrote:
> Oh, that's insane. Such a powerful tool. You're stating the opposite of
> obvious … obvious would be that you use the DTD to validate against. What kind
> of validation exists?
None that I am aware of. Frankly, I'm not even sad about this, I believe
any kind of server-side validation would be
* a lot of work to implement
* slowing down API requests
* hard to maintain
while any kind of client-side validation would just lead to "hey, the
server issues invalid XML!" - "then fix your definition of 'invalid'".
But you're welcome to support patches to the rails API and the clients
and promise to keep them up to date ;-)
Bye
Frederik
More information about the dev
mailing list