Hibernate 2.1.8
Hi, I'm running the SchemaExport Ant task, and it takes this error:
Code:
(util.XMLHelper 48 ) Error parsing XML: XML InputStream(35) The content of element type "set" is incomplete, it must match "(meta*,(cache|jcs-cache)?,key,(element|one-to-many|many-to-many|composite-element|many-to-any))".
...when parsing this mapping document:
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
<hibernate-mapping>
<class
name="com.wrinkledog.SPAR.model.Project"
>
<id
name="id"
column="id"
type="java.lang.Long"
>
<generator class="native">
</generator>
</id>
<property
name="name"
type="java.lang.String"
column="name"
/>
<set
name="assets"
lazy="false"
inverse="false"
cascade="none"
sort="unsorted"
>
<key
column="id"
>
</key>
<one-to-many
class="com.wrinkledog.SPAR.Asset"
/>
</set>
<!--
To add non XDoclet property mappings, create a file named
hibernate-properties-Project.xml
containing the additional properties and place it in your merge dir.
-->
</class>
</hibernate-mapping>
...and for some reason I'm just not seeing what the problem is.
Can anyone help?
Thanks a lot,
Mark