It's important to understand that the xmlns attribute value is just a logical namespace and it need not be the location where the xsd is published. Usually the schemaLocation attribute maps the logical namespace to a location, most of the times it's a URL. However, in this case the xsd is packaged within the hibernate jars and is not published anywhere. If you are trying to setup your IDE for auto-completion and other such features for hibernate configuration files, then you'll have to setup the IDE to point to the xsd contained in the hibernate jar.
Witold Marshal wrote:
Do you know the location o this xsd file? Which jar contains it?
It should be in the hibernate-core*.jar somewhere under a folder named schema inside it. I don't have ready access to hibernate jars right now to confirm. But you can probably do a quick check in your project dependencies.
Joined: Feb 05, 2012
Thanks a lof. You were right, I have found it. : )