On 05/06/2007, at 12:08 AM, Jeff Mutonho wrote:

On 6/4/07, Stephen Coy <[EMAIL PROTECTED]> wrote:
On 04/06/2007, at 10:48 PM, Jeff Mutonho wrote:>
If so, does the mapping file have a DOCTYPE? The "lazy" attribute
appears in the Hibernate 2.0 DTD, so it should be OK.

Yes it does.It's like this :

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE hibernate-mapping PUBLIC
   "-//Hibernate/Hibernate Mapping DTD 2.0//EN"
   "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd";>

<hibernate-mapping

   <class
       name="za.co.telkom.portal.Person"
       lazy="true"
   >


You have an XML parser error on line 58 according to your stack trace. That seems to be way after this. You've probably got some Hibernate 3.0 markup in your Person class and it has sneaked into the mapping file. Do you have a validating xml editor than you can check the mapping file with? If you can find the bad xml, you will be able to locate the associated bean markup and fix it, instead of continuing to hide it.



The 1.2.1 version  looks like this :
<?xml version="1.0"?>

<!DOCTYPE hibernate-mapping PUBLIC
   "-//Hibernate/Hibernate Mapping DTD 2.0//EN"
   "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd";>

<hibernate-mapping>
   <class
       name="za.co.telkom.portal.Person"
       dynamic-update="false"
       dynamic-insert="false"
   >

Isn't it possible to get Maven xdoclet plugin to use  work with the
1.2.1 jars at runtime instead of the 1.2.3?

Anything's possible, but it won't be easy. Fix the markup in your java classes instead.

Steve Coy


My attempt to alter/edit  the xdoclet-maven-plugin-1.0-alpha-1.pom
backfired and I ended up with a corrupt repository.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to