With these it helps Although xsd:any will basically allow any XML element, there are variations of strictness given by its @processContents attribute. In this case, @processContents is strict, which means that any defined element may appear there. Your error message is indicating that it can find no such XSD definition for the oai-identifier element. You can fix this by doing one of the following: change the XML to present a defined element in that spot; change the XSD xsd:any/@processContents to lax or skip; provide the validating XML parser access to the definition of oai-identifier.
fixed the issue. Will look into that further sorry if this question has been already answered - I have found several answers for usual source of this problem such as using and having no xmlns:beans declaration but what I get seems different... So here's my xml file: , Your root element has