Open zimeon opened 10 years ago
According to Section 3.2, bullet 2 or the spec the root element must be OAI-PMH
and the default namespace must be defined as http://www.openarchives.org/OAI/2.0/
. Thus while it would be useful for that validator to helpfully point out an error if a namespace prefix is used, it shouldn't be accepted.
Issue reported by Markus Demleitner is that the validator at http://www.openarchives.org/Register/ValidateSite fails to validate baseURL=http://dc.zah.uni-heidelberg.de/oai.xml with the error:
Identify response does not have OAI-PMH as root element! Found node named 'oai:OAI-PMH' instead.
where the Identify response looks correct but just uses an XML prefix for the OAI-PMH namespace: