• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what's the correct format for dozer mapping file?

 
zenius lee
Greenhorn
Posts: 10
  • 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
Posts: 21114
32
Eclipse IDE Firefox Browser MySQL Database
  • 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
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change xml header with following, it should fix your problem.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic