Open smrgeoinfo opened 5 months ago
Probably something to improve around here https://github.com/geonetwork/core-geonetwork/blob/main/web/src/main/webapp/xslt/common/index-utils.xsl#L605-L642 and then display information in the record view https://github.com/geonetwork/core-geonetwork/blob/main/web-ui/src/main/resources/catalog/views/default/templates/recordView/summary.html#L12-L21
The parsing error during indexing should not be something making the harvester hanging.
gml:TimePosition is defined with data type
<union memberTypes="gml:CalDate time dateTime anyURI decimal"/>
in gml/3.2.1/termporal.xsd. I have data that uses gml:TimePosition to report geologic ages, i.e. a decimal number, which is a valid data type in this union, but when I try to harvest those records there is an error and the record is not harvested. In fact it appears that the harvest process hangs...here is the error message:
Here is a snippet from the xml being harvested:
The processor should not assume that gml:timePosition is an ISODateTime-- it needs to check for a URI or numeric value and allow those.