Sorry, I am a little confused about you comment Mr King. Which FAQ's? Do mean the overall hibernate FAQ located at
http://www.hibernate.org/14.html, or do you mean the page about Middlegen for Hibernate at
http://www.hibernate.org/98.html. I mentioned in my comments on my weblog I went back and did see the "NOTE: Post hibernate 2.1beta5 DTD is required to validate correctly for all possible XDoclet meta tags." I should have mentioned that in the forum post.
What I was having trouble with was that the validate task in ant validated correctly, but the hbm2java task did not. Taking a look at the source for hibernate, I tried to figure out why this happens. The ant validate task calls the xmlvalidate task without a nested dtd entity, so I think it uses the internally defined dtd in the hbm.xml file, which is a current version at the given URL. The hbm2java task looks like it uses a custom DTDEntityResolver from the net.sf.hibernate.util package. I couldn't find any apidocs for it with the rest of the apidocs in the 2.0.3 distribution, but I did find the source. Since there is a hibernate-mapping-2.0.dtd in the hibernate2.jar which is on the classpath, it appears the DTDEntityResolver uses that one, which is an older version. I probably wouldn't have had this problem had I used the 2.1 beta version.
Thanks for you time. I am very new to hibernate, and only got on this forum today. I appreciate all of your and everyone else's great work
--Mike