On Wednesday, December 5, 2018 at 2:00:13 PM UTC-5, Gonzalo Villegas wrote:
>
> Hello
> I'm trying to import a new metadata schema in DSpace 6.0 and from the 
> xmlui interface, I can not do it.
> the Data metadata file. Version 4.1 has a .XSD extension (
> https://schema.datacite.org/meta/kernel-4.1/)
> How can this type of import be done?
>
>

That is not a DSpace metadata schema; it is an XML schema (that is:  a 
description of the permitted structure of an XML-based language) for 
DataCite metadata documents.  A DSpace metadata schema names fields which 
can be directly stored and manipulated in DSpace, expressed in a form 
similar to Qualified Dublin Core.  The XSD referred to above describes an 
XML document which can be understood by the DataCite API.  If you compare 
that XSD with any of the files found in 'config/registries/*types.xml' 
you'll see that they are quite different.

You can use that version of the DataCite metadata specification for 
exchanging data with DataCite.  You would need to alter the XSL-T transform 
which defines the crosswalk between DSpace metadata and DataCite metadata.  
That transform is found in 'config/crosswalks/DIM2DataCite.xsl'.  There is 
a problem, though, with changing the default XML namespace in this 
transform:  most versions of DSpace will insert the actual identifier 
element into the metadata document using a fixed schema version 2.1.  This 
was corrected in DSpace version 6.0, and there is a pending fix for 
unreleased DSpace 5.11 at https://jira.duraspace.org/browse/DS-4044.

To directly answer your question:  the XSD cannot be imported into DSpace.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to