Closed jacimize closed 8 years ago
I harvested the services folder in to my dev environment. it succeeds, but it marks each of the documents as invalid:
http://www.ncddc.noaa.gov/approved_recs/nos_new/nccos/services/MHIMarine.xml FAILED FAILED Validation Error: Identification Information - Title: is required. Validation Error: /gmi:MI_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:title/gco:CharacterString Validation Error: Identification Information - Abstract: is required. Validation Error: Spatial Domain - West Bounding Longitude: is required. Validation Error: Spatial Domain - South Bounding Latitude: is required. Validation Error: Spatial Domain - East Bounding Longitude: is required. Validation Error: Spatial Domain - North Bounding Latitude: is required.
the xpaths all refer to gmd/gmi, while I see your metadata uses srv:SV_ServiceIdentification. that may require an update to my validation rules (I may not have the latest metadata definitions), but in principle I can harvest the WAF.
when you harvest the WAF, can you view the history reports and what messages do you see there?
yes, I updated the definitions to include both gmd or gmi and in identification to also use dataIdentification or serviceIdentification (gmd/MD or srv/SV). I do not get an error message, it says that it successfully harvests and validates and publishes and gives the correct number in the report but when I go to view the records from resource they are not there and they are not shown in the search. When I upload the records individually it works well.
FYI, I am using the schema definitions from http://www.ngdc.noaa.gov/metadata/published/xsd/schema/
do you see the harvested documents in the administration page?
no, just the metric in the reports
hmm, can you send the ISO definition file you use (where you added gmi)?
When I reviewed the definition file it looks like the issue was on our end when we upgraded geoportal versions and copied over the old definition files from our previous version. I corrected the definition file and it works perfectly!! Sorry!!
:8ball:
We currently have version 1.2.6 installed and when we tried to harvest service iso metadata from http://www.ncddc.noaa.gov/approved_recs/nos_new/nccos/services/, it would not harvest. We ran reports and it says that it could obtain, validate, and publish the records when we tried to harvest up a level at http://www.ncddc.noaa.gov/approved_recs/nos_new/nccos/ but it still did not work. We were able to successfully upload and publish individual records manually from the file.