...
Defining a custom CND file
Warning |
---|
The following steps should only be done when the repository is first set up, before any content has been added. Namespace registry corruption can occur if new namespaces are defined in the CND for a repository that already has content that uses those namespaces with different associated prefixes. |
In order to define a custom CND file, you must first customize the repository.json
file. This is the configuration that is used with the -Dfcrepo.modeshape.configuration
setting. In that file, the "node-types"
block should be defined as: "node-types" : ["fedora-node-types.cnd", "file:/etc/fcrepo/namespaces.cnd"]
.
...
Code Block | ||
---|---|---|
| ||
<acl = 'http://www.w3.org/ns/auth/acl#'> <cc = 'http://creativecommons.org/ns#'> <dcterms = 'http://purl.org/dc/terms/'> <exif = 'http://www.w3.org/2003/12/exif/ns#'> <geo = 'http://www.w3.org/2003/01/geo/wgs84_pos#'> <gn = 'http://www.geonames.org/ontology#'> <iana = 'http://www.iana.org/assignments/relation/'> <ore = 'http://www.openarchives.org/ore/terms/'> <owl = 'http://www.w3.org/2002/07/owl#'> <prov = 'http://www.w3.org/ns/prov#'> <rel = 'http://id.loc.gov/vocabulary/relators/'> <schema = 'http://schema.org/'> <skos = 'http://www.w3.org/2004/02/skos/core#'> |
...