I am trying to configure a second datasource, second sessionfactory and second transaction manager in my application context.
I have provided the mapping files and when i restart the server, i get the below exception:
Error parsing XML: XML InputStream(50) The content of element type "hibernate-mapping" must match "(meta*,typedef*,import*,(class|subclass|joine d-subclass|union-subclass)*,(query|sql-query)*,filter-def*)".

I am using the component mapping of hibernate:
Code:
<!DOCTYPE hibernate-mapping PUBLIC 
	"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
	"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    
<hibernate-mapping package="com.citigroup.rel.adg.domain.ccrm">
	<class name="ContactInfo" table="CONTACT_INFO">
        <id name="contactId" type="long">
        	<column name="CONTACT_ID"/>
        	<generator class="sequence">
            	<param name="sequence">contact_info_seq</param>
        	</generator>
		</id>
		<property name="faxNumber" type="string">
        	<column name="FAX_NMBR"/>
		</property>
		        
        <component name="address" class="Address">
			<property name="zip"		type="string" column="ZIP"/>
			<property name="address1" 	type="string" column="STREET1"/>
			<property name="address2" 	type="string" column="STREET2"/>
			<property name="city" 		type="string" column="CITY"/>
			<property name="state" 		type="string" column="STATE_PROVINCE"/>
			<property name="postalCode" type="string" column="POSTAL_CODE"/>			
			<property name="country" 	type="string" column="COUNTRY"/>			
			<property name="addressTypeId" 	column="ADDRESS_TYPE_ID"/>									
		</component>
    </class>
</hibernate-mapping>
can someone pls explain whats wrong?