From: <leg...@at...> - 2004-01-06 02:10:15
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-607 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-607 Summary: <composite-element> does not accept <any> in it Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Versions: 2.1 Assignee: Reporter: Sankara N Alwar Created: Mon, 5 Jan 2004 8:10 PM Updated: Mon, 5 Jan 2004 8:10 PM Environment: Hibernate 2.1 Final, Oralce 8.1.7, Windows 2000 Description: <composite-element> does not accept <any> in it. I get the following error if I add any inside <composite-element>: ERROR [Thread-4] 2003-12-23 23:42:18,735 - net.sf.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(180) The content of element type "composite-element" must match "(parent?,(property|many-to-one|nested-composite-element)*)". Even I verified the dtd, it doesn't accept it. Here is my mapping: <set name="Persons" table="groupmembership" lazy="true" inverse="true"> <key column="group_id"/> <composite-element class="net.sf.hibernate.examples.quickstart.GroupMembership"> <any name="members" id-type="string" meta-type="net.sf.hibernate.examples.quickstart.GroupTypeMapper"> <column name="child_type"/> <column name="child_id"/> </any> </composite-element> </set> --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |