-->
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.  [ 1 post ] 
Author Message
 Post subject: Error parsing XML (337) : The content of element type "one-t
PostPosted: Mon Jul 30, 2012 3:43 pm 
Newbie

Joined: Tue Apr 22, 2008 9:55 am
Posts: 2
I have a one-to-many as shown below and receive Error parsing XML (337) : The content of element type "one-to-many" must match "EMPTY". This started to happen after I updated the Doctype to

<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">

We recently upgraded to version 3 of hibernate. In addition, the failure only occurs on an updated version of iplanet 7. Any ideas on what I need to do to get this error corrected short of eliminating iplanet 7 and revert to the previous version.

<set name="GetPartABenefits" inverse="true">
<key>
<column name="HICN_CAN" length="9" not-null="true" />
<column name="HICN_BIC_CAT" length="2" not-null="true" />
</key>
<one-to-many
entity-
name="com.ngsmedicare.ngd.il.interfaces.datamart.hbm.BenePartaDeductible">
</one-to-many>

Thanks...


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

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.