serializeSystemMetadata() and parseSystemMetadata() both incorrectly assume that the mediaType is the xml value of the element <mediaType> of a system metadata xml document. The correct structure follows:
Also, in order to support this structure, we may need to add an additional property to DataObject(), which currently only has an argument for mediaType. We need to accommodate the properties that can be a list. The D1 solr index uses the names 'mediaType' and 'mediaTypeProperty'.
I propose that we add the argument mediaTypeProperty to DataObject initialize() and update parseSystemMetadata() and serializeSystemMetadata() to handel the correct XML structure.
serializeSystemMetadata()
andparseSystemMetadata()
both incorrectly assume that the mediaType is the xml value of the element<mediaType>
of a system metadata xml document. The correct structure follows:Also, in order to support this structure, we may need to add an additional property to
DataObject()
, which currently only has an argument formediaType
. We need to accommodate the properties that can be a list. The D1 solr index uses the names 'mediaType' and 'mediaTypeProperty'.I propose that we add the argument
mediaTypeProperty
toDataObject initialize()
and updateparseSystemMetadata()
andserializeSystemMetadata()
to handel the correct XML structure.