• Post Reply Bookmark Topic Watch Topic
  • New Topic

Location of DTDs  RSS feed

 
Ravi Bansal
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone, where does hibernate framewok look for DTDs for validating the configuration and mapping xml documents.?

we specify



in the mapping xml. Does the framework look on the web for this DTD. or its there in some hibenate jar ?

 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks locally first. The DTDs are included in the distribution so if they are on the classpath its those that are used.
 
Ravi Bansal
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But where in the distribution? what is the path of those DTDs?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Path? They are in hibernate3.jar, so if you want to view the local copy just open hibernate3.jar and look.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!