mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Merge pull request #1205 from helix84/DS-2934-add-local-metadata-namespace
DS-2934 Add an empty "local" metadata namespace
This commit is contained in:
@@ -62,6 +62,7 @@ public class DatabaseRegistryUpdater implements FlywayCallback
|
||||
log.info("Updating Metadata Registries based on metadata type configs in " + base);
|
||||
MetadataImporter.loadRegistry(base + "dublin-core-types.xml", true);
|
||||
MetadataImporter.loadRegistry(base + "dcterms-types.xml", true);
|
||||
MetadataImporter.loadRegistry(base + "local-types.xml", true);
|
||||
MetadataImporter.loadRegistry(base + "eperson-types.xml", true);
|
||||
MetadataImporter.loadRegistry(base + "sword-metadata.xml", true);
|
||||
|
||||
|
35
dspace/config/registries/local-types.xml
Normal file
35
dspace/config/registries/local-types.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
- local-types.xml
|
||||
-
|
||||
- An empty registry for instance-specific, local metadata. Any non-standard
|
||||
- metadata fields should be added here to avoid polluting the standard
|
||||
- namespaces.
|
||||
-
|
||||
-->
|
||||
<dspace-dc-types>
|
||||
|
||||
<dspace-header>
|
||||
<title>Registry of instance-specific metadata fields</title>
|
||||
<contributor.author>Ivan Masár</contributor.author>
|
||||
<contributor.editor>$Author$</contributor.editor>
|
||||
<date.created>$Date$</date.created>
|
||||
<description>$Log$</description>
|
||||
<description.version>$Revision$</description.version>
|
||||
</dspace-header>
|
||||
|
||||
<dc-schema>
|
||||
<name>local</name>
|
||||
<namespace>http://dspace.org/namespace/local/</namespace>
|
||||
</dc-schema>
|
||||
|
||||
<!--
|
||||
<dc-type>
|
||||
<schema>local</schema>
|
||||
<element></element>
|
||||
<qualifier></qualifier>
|
||||
<scope_note>Description of example metadata field.</scope_note>
|
||||
</dc-type>
|
||||
-->
|
||||
|
||||
</dspace-dc-types>
|
Reference in New Issue
Block a user