This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes XML and Related Technologies and the fly likes what's the correct format for dozer mapping file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "what Watch "what New topic
Author

what's the correct format for dozer mapping file?

zenius lee
Greenhorn

Joined: Jan 29, 2009
Posts: 10
Hello,

I am trying to use dozer and I follow the sample configuration file provided by dozer web site.

but I got a exception:


Can anyone help me out?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

I find it very odd that a DTD declaration would point to a schema. Very odd indeed. I would expect it to point to a valid DTD. Apparently the parser agrees with me. You might consider reporting that to the people who support the product.
Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874



Check out the version of Dozer framework , i guess the latest one supports xsd. but valid DTD for older versions is

<!DOCTYPE mappings PUBLIC "-//DOZER//DTD MAPPINGS//EN" "dozerbeanmapping.dtd">
Dominic Kalvap
Greenhorn

Joined: Apr 18, 2009
Posts: 1
Change xml header with following, it should fix your problem.

 
Consider Paul's rocket mass heater.
 
subject: what's the correct format for dozer mapping file?