Validate Request Body
dlabordus opened this issue · comments
As a Developer
I want the Request Body to be validated
So that I know a SCL element is there with the correct namespace
Because we need to support all three versions of a SCL the element isn't type bounded anymore, but a Any Element.
To make it more robust we should check the content of that Any Element.
- Make it a List of Elements again.
- Check that it has only 1 entry
- Check that that entry has a Name "SCL" and the SCL Namespace (same for all three versions.)
- Check voor CreateRequest the field Name is filled and correct characters
- Check voor UpdateRequest the field ChangeSet is filled