Closed MartinoMensio closed 7 years ago
check key and keyref
This feature will be delayed due to the fact that the professor still needs to explain his validation method
Doing with schema validation (commits a8f2568 9f73b1f )
Need to distinguish malformed requests (HTTP status 400) from not valid xml (HTTP status 422).
This could be done by using two unmarshaller: the first one not validating and the second one validating
not valid or malformed --> 400
422 is only for missing references
The server should check the body of POST requests in order to accept only correct data. The checking must be done for: