[
https://jira.duraspace.org/browse/DS-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20925#action_20925
]
Mark Diggory commented on DS-922:
---------------------------------
I'd like to consider looking at METS for a bit and thinking about the current
MetadataValue table as a "section" in METS and other details as bitstreams as
file descriptions. If you take this approach (not dissimilar to that which
Fedora took) you will see that you have created an extensible container to hold
details about the item, bitstreams and the relationships between them. If you
would consider a simpler step that might get us a little closer to this. Please
wrap the MetadataValue table contents into a repeatable XML element called
metatdata that is an XML container, inside it, would be DC, MODS, RDF, etc. We
them make our own dim like XML representation that looks like:
<metadata>
<value ns="dc" element="title" qualifier="alternative">Some Text</value>
</metadata>
> REST-API In an Item query the metadata is exposed as one String rather than
> as discrete Xml elements
> ----------------------------------------------------------------------------------------------------
>
> Key: DS-922
> URL: https://jira.duraspace.org/browse/DS-922
> Project: DSpace
> Issue Type: Bug
> Components: REST API (experimental)
> Reporter: Robin Taylor
> Attachments: rest-metadata.png
>
>
> Class ItemEntity calls XHTMLHeadDisseminationCrosswalk to create the metadata
> XML. This crosswalk was written to add the metadata as a String in the <head>
> section of an html page and is probably not the correct crosswalk to use for
> the REST API. Below is a cut and pasted chunk from a REST API query which
> shows the metadata as a string containing escape characters.
> <metadata><link rel="schema.DCTERMS" href="http://purl.org/dc/terms/"
> /><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"
> /><meta name="DC.creator" content="dfgdgd, dfgdf"
> We need to decide on a suitable format for exposing the metadata. Should we
> default to DC ? How should this then be exposed if the request specifies Json
> ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel