[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:
Stuart Lewis
2010-01-07 01:57:33 +00:00
parent 523973b2de
commit c40c9668fc
2 changed files with 31 additions and 0 deletions

View File

@@ -138,6 +138,7 @@ public class RegistryLoader
context.abort();
}
System.err.println("Error: \n - " + e.getMessage());
System.exit(1);
}
}

View 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>