Hi all,

I would like to map on several database. I have the
following mapping file :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE databases PUBLIC "-//EXOLAB/Castor JDO
Configuration DTD Version 1.0//EN"
"http://castor.exolab.org/jdo-conf.dtd";>
<database name="aaa" engine="sybase" >
        <driver class-name="com.sybase.jdbc2.jdbc.SybDriver"
url="jdbc:sybase:Tds:flo-don-bte04:5000">
                <param name="user" value="cpu_dbo"/>
                <param name="password" value="cpu_dbo"/>
        </driver>
        <mapping href="UsimappingPCB.xml" />
</database>
<database name="bbb" engine="sybase" >
        <driver class-name="com.sybase.jdbc2.jdbc.SybDriver"
url="jdbc:sybase:Tds:flo-don-bte04:5000">
                <param name="user" value="cpu_dbo"/>
                <param name="password" value="cpu_dbo"/>
        </driver>
        <mapping href="UsimappingPCU.xml" />
</database>

When i run the application, i have the following
exception :
org.exolab.castor.jdo.DatabaseNotFoundException:
Nested error: org.xml.sax.SAXParseException: The
markup in the document following the root element must
be well-formed.{file: file:///E:/Usidb/prodCliUni.xml;
line: 10; column: 2}

can anyone hepl me please?!

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Courrier : http://courrier.yahoo.fr

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to