BTW, to fix it I simply deleted the filter-def * from the element (since I don't use filter-def elements) - I don't know if this is a good idea or not.
from this:
Code:
<!ELEMENT session-factory (property*, mapping*, (class-cache|collection-cache)*, listener*, filter-def*)>
to this:
Code:
<!ELEMENT session-factory (property*, mapping*, (class-cache|collection-cache)*, listener*)>
Can anyone recommend a way to get a DTD validator into the Hibernate build process? Is there already an ant task that can do this?