Hi
I got a report from a customer that the CSW harvester can’t harvest one of his servers, due to send in typeNames a list of values (all the values reported in the capabilities by the remote server) and the server fails. Changing the request to send only 1 typeName value seem working fine.
Although in the OGC specs the data type for typeNames is a list, the usage seem that mandates one. See this:
In OGC 07-006:
typeNames
Data type and value:
List of Character String, comma separated
Unordered List of object types implicated in the query
Optionality and use:
One (Mandatory)
In OGC 07-045 (ISO API Profile):
typeNames
Data type and value:
List of Character String, comma separated
Used to specify which entities, from the information model of the catalogue, shall be queried.
Optionality and use:
Mandatory: Must support o****ne of “csw:Record” or “gmd:MD_Metadata” in a query. Default value is “csw:Record”.
OGC specs are sometimes not very clear, but in this case seem the implementation in GeoNetwork is wrong and have use the generic data type instead the specific restriction defined in the spec? What are your thoughts?
I would like to change the code according to the spec, but want to check if I’m missing something?
Thanks and regards,
Jose García
–
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net