cbs-demo-troubleshooting
1. Troubleshooting
1.1. Trouble with geonetwork
1.1.1. OAI not picking up newly imported files when the "from=#date#" parameter is used.
Apparently, when importing new data into the database, geonetwork does not consider the data to be "changed". This is despite the fact that in the database the "changeDate" filed is set to the data the record was imported. However, in the lucene index, the changeDate column is not set to that date. (re-indexing does not seem to help either).OAI seems to look into the changeDate of the metadata rather than in the database change field... hmmmmm... I'm wondering what is correct behavior here.
In solution is to change search.xml or lucene.xml. Would have to search "_changeDate" rather than "changeDate".
1.2. external schemaLocation in XML file
The issue is that in some XML files have additional namespaces (e.G gmx for JMA), which is a valid practice. However, local validators might not know these namespaces. A parser has several options.