You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
2024-04-04T21:40:29,810 ERROR [geonetwork.domain] - Error parsing ISO DateTimes '160'. Error is: null
java.lang.NullPointerException: null
at org.fao.geonet.utils.DateUtil.parseISODateTimes(DateUtil.java:149) ~[classes/:?]
at org.fao.geonet.utils.DateUtil.convertToISOZuluDateTime(DateUtil.java:106) ~[classes/:?]
Here is a snippet from the xml being harvested:
<gex:temporalElement>
<gex:EX_TemporalExtent>
<gex:extent>
<gml:TimePeriod>
<gml:description>geoTime: Jurassic, Cretaceous</gml:description>
<gml:begin>
<gml:TimeInstant>
<gml:name>Base Early Jurassic</gml:name>
<gml:timePosition frame="Ma before present" >160</gml:timePosition>
</gml:TimeInstant>
</gml:begin>
<gml:end>.... like begin
The processor should not assume that gml:timePosition is an ISODateTime-- it needs to check for a URI or numeric value and allow those.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: