Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

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
xml
xml
<!ELEMENT validation-error>
<!ATTLIST validation-error row CDATA #IMPLIED>
<!ATTLIST validation-error column CDATA #IMPLIED>
<!ATTLIST validation-error message CDATA #REQUIRED>

Example:

Code Block
xml
xml

<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.