Hello Alan,
no own types are not automatically loaded if they are in an own file.
You may simply place your customizations in dc-types.xml
Adding after:
<dc-schema>
<name>dc</name>
<namespace>http://dublincore.org/documents/dcmi-terms/</namespace>
</dc-schema>
your own Schema:
<!--Local Customization - new Schema for ... -->
<dc-schema>
<name>[YourName]</name>
<namespace>[YourNamspace]</namespace>
</dc-schema>
and then later the elements
<dc-type>
<schema>[YourSchema]</schema>
<element>[YourElement]</element>
<qualifier>[YourQualifier]</qualifier>
<scope_note>[YourScopeNote<]/scope_note>
</dc-type>
After adding something to the registry of our production instance I
usually do this in our code base, in order to have everything in sync
for a fresh install of a test instance or an upgrade
Hope this helps
Claudia Jürgen
Am 06.07.2017 um 08:38 schrieb Alan Orth:
Dear Claudia,
I'm trying to add a new metadata schema to be populated during `ant
fresh_install` but it doesn't get applied—only dc, dcterms, and eperson do.
I know I can manually ingest it with `dspace registry-loader -metadata
my-types.xml` but I was hoping that DSpace could do this for me. I've
placed the file in [dspace-src]/dspace/config/registries. Is this a bug,
limitation, or something else? :)
I'm testing on DSpace 5.6.
Thank you,
On Wed, Oct 19, 2016 at 4:03 PM Pantelis Karamolegkos <pantelis...@gmail.com>
wrote:
Thanks Claudia.
In any case we are not considering about removing any of the existing
schemas, just adding a (couple of) new one(s).
Best,
Pantelis
On Wednesday, October 19, 2016 at 3:23:10 PM UTC+3, Pantelis Karamolegkos
wrote:
In order to declare and use a new metadata schema, what is the
recommended way of going about it?
Should we directly add entries to the database or update / add xml files
under the dspace/config/registries folder?
For example, in order to add say the LOM schema, should we add a
lom-types.xml file with the LOM application profile we intend to use?
(as its already done for dc and dcterm schemas with dublin-core-types.xml
and dcterms-types.xml respectively?)
--
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
--
Claudia Juergen
Eldorado
Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund
Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@tu-dortmund.de
www.ub.tu-dortmund.de
Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen
Schriftstücks per Telefax erfolgen.
Important note: The information included in this e-mail is confidential. It is
solely intended for the recipient. If you are not the intended recipient of
this e-mail please contact the sender and delete this message. Thank you.
Without prejudice of e-mail correspondence, our statements are only legally
binding when they are made in the conventional written form (with personal
signature) or when such documents are sent by fax.
--
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.