Hello,
This question is for those using the ANZLIC Profile.
I recently discovered that when using the ANZLIC Profile that the
fileIdentifier can easily get out of sync with the UUID that GeoNetwork
generates for that metadata record. The process that led to this was as
follows:
- Create metadata record in the ANZLIC Profile.
- Create a second metadata record in he ANZLIC Profile and set the first
record as parent using the GUI tool provided.
- Save changes. Then try to access the Parent from the child. This will
fail. The parent record cannot be found.
It would seem that the GUI to select the Parent metadata record is
retrieving the value from the <gmd:fileIdentifier> tag in the metadata
record itself and not the UUID field in the "metadata" table and that the
two are not in sync. I cannot imagine that this is a good. On research I
discovered that the fileIdentifier element held in the metadata created in
the ANZLIC profile most often is not the same as the value in the UUID field
of the "metadata" table in the database. In fact many ANZLIC records share
the same <gmd:fileIdentifier> value.
The culprit seems to be the "update-fixed-info.xml". In particular the
following section (lines 28 - 39):
Deleting selected lines as follows to remove the test fixes the problem:
Am I breaking anything by removing this test? It does not seem to be present
in all profiles. It is not present in the default ISO 19139 schema
"update-fixed-info.xml". (I do see this test in the MCP as well.) Also, is
this in any way related to ticket #1205?
Cheers,
Byron
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/ANZLIC-File-Identifier-issue-and-MCP-tp5102625.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.