mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
[DS-295] CC License being assigned incorrect Mime Type during submission.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4660 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -138,6 +138,7 @@ public class RegistryLoader
|
||||
context.abort();
|
||||
}
|
||||
|
||||
System.err.println("Error: \n - " + e.getMessage());
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
|
30
dspace/etc/upgrades/15-16/new-bitstream-formats.xml
Normal file
30
dspace/etc/upgrades/15-16/new-bitstream-formats.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
- new-bitstream-formats.xml
|
||||
-
|
||||
- New bitstream formats added in DSpace 1.6
|
||||
-
|
||||
- To load these, run: [dspace]/bin/registry-loader -bitstream new-bitstream-formats.xml
|
||||
-->
|
||||
|
||||
<dspace-bitstream-types>
|
||||
|
||||
<bitstream-type>
|
||||
<mimetype>text/html; charset=utf-8</mimetype>
|
||||
<short_description>CC License</short_description>
|
||||
<description>Item-specific Creative Commons license agreed upon to submission</description>
|
||||
<support_level>1</support_level>
|
||||
<internal>true</internal>
|
||||
</bitstream-type>
|
||||
|
||||
<bitstream-type>
|
||||
<mimetype>application/rdf+xml; charset=utf-8</mimetype>
|
||||
<short_description>RDF XML</short_description>
|
||||
<description>RDF serialized in XML</description>
|
||||
<support_level>1</support_level>
|
||||
<internal>false</internal>
|
||||
<extension>rdf</extension>
|
||||
</bitstream-type>
|
||||
|
||||
</dspace-bitstream-types>
|
Reference in New Issue
Block a user