Hi,
I get the "The content of element type "class" must match "(meta*,subselect?,cache?"..etc, error (indicating non-conforming XML against the class element of the DTD) when trying to run a basic example returning a session factory.
Have looked at other forum posts, but can't find anything in my code resembling those (more complex) issues; my XML seems fine?!
Really simple table & POJO behind the scenes(literally WYSIWYG has been implemented). The mapping class:
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="auth" table="AUTH">
<property name="f1">
<column name="f1"/>
</property>
<property name="f2">
<column name="f2"/>
</property>
</class>
</hibernate-mapping>
What's wrong with the "class" element? Any assistance appreciated