-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: using hibernate offline/no dtd from sourceforge
PostPosted: Tue Oct 28, 2003 11:09 am 
Newbie

Joined: Wed Sep 17, 2003 8:26 am
Posts: 16
hi all,

obviously xml is not one of my special skills ;-)... I have the following question: How can i configure hibernate to not validate against the dtds from sourceforge? I'm running in an appserver environment and use xdoclet to generate my mappings. I know three ways: deleting the dtd-mapping from the template in xdoclet (no validation at all) creating a uri that maps to a local dtd file (but changing the template again) or configuring the xml-parser at the moment of instantiation.

But I was hoping, there is a switch in the cfg somewhere? But I haven't found one so far.

Jan


Top
 Profile  
 
 Post subject: solved...
PostPosted: Tue Oct 28, 2003 11:25 am 
Newbie

Joined: Wed Sep 17, 2003 8:26 am
Posts: 16
hi again,

after reading the docs again, I found the statement that hibernate looks in the classpath first when looking for the dtd. This seems to be broken in the version I'm using here. Because if i put the dtds somewhere else in the classpath they are found without a problem. only the dtds in hibernate.jar seem to be ignored. Maybe they are in the wrong place regarding the package structure? Has this ever been an issue? Or perhaps this has already been solved in actual versions (post 2.0).

Jan


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.