Duss Jean wrote:
>
> 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;
What is this file ----->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I don't see any reference to it in the database.xml?
> line: 10; column: 2}
Evidently it's pointing to line 10, column 2 of that file.
--
+------------------------------+
| Bruce Snyder |
| [EMAIL PROTECTED] |
+------------------------------+
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev