permaculture playing cards*
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 Android Security Essentials Live Lessons this week in the Android 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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what's the correct format for dozer mapping file?
 
Similar Threads
i have written code for dom but output given from the exception caught in the code
Classic Tag Handler
Spring/*Hibernate*/Struts - "Error parsing XML"
TLD
Problem with hibernate.cfg.xml