...
When a storage engine receives an update of a resource that does not pass the configured validation rules the storage engine MUST respond by returning a 409 (Conflict) and include a DAV:error element containing a validation-error element:
Code Block | ||||
---|---|---|---|---|
| ||||
<!ELEMENT validation-error> <!ATTLIST validation-error row CDATA #IMPLIED> <!ATTLIST validation-error column CDATA #IMPLIED> <!ATTLIST validation-error message CDATA #REQUIRED> |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
<validation-error row="3" column="44" message="missing namespace declaration"/> |
The @row and @column attribute SHOULD be provided (if applicable) to indicate where in the xml the validation error occured. The @message attribute MUST contain a human-readable description of the error.