Hi All,
I'd like to change the way that I handle identification of records in
the Gemini 2.3 schema when they are imported into Geonetwork. The
MetadataStandardName is now included in a Registry, so the way that it
should be included in a record is as follows:
<gmd:metadataStandardName>
<gmx:Anchor
xlink="http://vocab.nerc.ac.uk/collection/M25/current/GEMINI/">UK
GEMINI</gmx:Anchor>
</gmd:metadataStandardName>
Ideally I would like schema-ident.xml to look just for the xlink part
of gmx:Anchor and allow anything in the text part. In other words
<gmd:metadataStandardName>
<gmx:Anchor
xlink="http://vocab.nerc.ac.uk/collection/M25/current/GEMINI/">FOO</gmx:Anchor>
</gmd:metadataStandardName>
Should also be accepted.
I tried with the following in schema-ident.xml:
<gmd:metadataStandardName>
<gmx:Anchor
xlink="http://vocab.nerc.ac.uk/collection/M25/current/GEMINI/"/>
</gmd:metadataStandardName>
But records are not recognised as Gemini 2.3 at all.
Ideally I would also want records that have a characterString that
matches the name rather than an anchor to be correctly identified, eg
<gmd:metadataStandardName>
<gco:CharacterString>UK GEMINI</gco:CharacterString>
</gmd:metadataStandardName>
Is what I am trying to do possible in schema-ident.xml or will I just
have to ensure that all records have the full anchor and name when
they are imported? I know I could set the default schema for the
catalog to be Gemini 2.3 but I'd rather not unless that's my only
option.
Thanks
Jo
--
Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For
urgent responses at that time, please visit
support.astuntechnology.com or phone our office on 01372 744009
--
--
*Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates> for updates on news,
products, conferences, events and training*
*
*
Astun Technology Ltd,
Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK
t:+44 1372 744 009 w: astuntechnology.com <http://astuntechnology.com/>
twitter:@astuntech <https://twitter.com/astuntech>
iShare - enterprise
geographic intelligence platform <https://astuntechnology.com/ishare/>
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/training-courses/>
Helpdesk and customer
portal
<https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal>
Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.