Closed kimpham54 closed 6 years ago
We need to update the https://github.com/digitalutsc/islandora_web_annotations/blob/7.x/xml/webannotation_ds_composite_model.xml to specify that WADM should be application/json as below:
<dsCompositeModel xmlns="info:fedora/fedora-system:def/dsCompositeModel#">
<dsTypeModel ID="DC">
<form FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" MIME="text/xml"></form>
</dsTypeModel>
<dsTypeModel ID="RELS-EXT">
<form FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" MIME="text/xml"></form>
</dsTypeModel>
<dsTypeModel ID="WADM">
<form MIME="application/json"></form>
</dsTypeModel>
</dsCompositeModel>
Have to update the WADMContainer DS-COMPOSITE-MODEL.xml as well.
For @Natkeeran to review
This is no longer an issue.
Islandora complains that it's not XML (it's JSON)