Since XML validation is done against the schema and since policies are stored into the service via PUT, the service must be sure that the name of the policy follows the rules defined in the schema.
For this reason, the service must compare the name provided in the body with the name in the path, if they differ it must reject the request.
Cannot solve this problem by simply overwriting the name from the path to the body because I won't do path validation
Since XML validation is done against the schema and since policies are stored into the service via PUT, the service must be sure that the name of the policy follows the rules defined in the schema.
For this reason, the service must compare the name provided in the body with the name in the path, if they differ it must reject the request.
Cannot solve this problem by simply overwriting the name from the path to the body because I won't do path validation