This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what's the correct format for dozer mapping file?

 
zenius lee
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20185
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 874
Android Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change xml header with following, it should fix your problem.

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic