rackspace/atlas-lb — pull request #11 by ctxs-atlas (2011-11-28 16:52:11+00:00)
Title: XSD validation of requests

This change to spring-context.xml file in "core public web" api allows payloads to be validated against the defined schema files. If validation fails (for example, a user sends an extra element not specified in schema, then an error will be returned to user).

The only problem I don't know how to resolve is that there is no way of extending spring-context.xml in the extensions, by adding extra XSD files that the extension wants to use for valdiation. The extension's XSD files have to be mentioned in the spring-context.xml file of Core, which is not ideal.

May be we should have modules like ctxs-public-web, rax-public-web, and it would be the WAR built by such module that will be deployed.