Skip to main content
Hitachi Vantara Knowledge

XML checking for custom metadata

By default, when a custom metadata annotation is added to or replaced in a namespace, HCP checks whether it contains well-formed XML. If the XML is not well-formed, HCP rejects the annotation.

For any given namespace, you can choose to allow users to provide annotations in non-XML formats (for example, as thumbnail images to accompany large objects with image content). In this case, you need to disable custom metadata XML checking for the namespace so that HCP accepts non-XML annotations.

XML checking applies only when annotations are added to or replaced in a namespace. It does not apply to annotations that already exist in the namespace.

You can enable or disable custom metadata XML checking for a namespace at any time.

NoteIf the XML in an annotation for an object includes a very large number of different elements and attributes, HCP may determine that the XML is not well-formed, even if it is, and reject the annotation. If this happens, the user can try restructuring the XML so that it includes fewer different elements and attributes. Alternatively, you can temporarily disable custom metadata XML checking to allow that XML to be stored in the namespace.

 

  • Was this article helpful?