aspose file tools*
The moose likes XML and Related Technologies and the fly likes Does JAXB use DTD or Schema? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Does JAXB use DTD or Schema?" Watch "Does JAXB use DTD or Schema?" New topic
Author

Does JAXB use DTD or Schema?

Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 671
I am looking into jaxb. Some say JAXB uses DTD and some say it uses schema. Which one is true?
Thanks.


BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design

Crazy Bikes created by m-Power
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12825
    
    5
The version I was working with earlier used DTD, but according to The JAXB Page the latest version handles a subset of W3C schema and no longer works with DTDs.
Ah the joys of trying to keep up with the latest release... :roll:
Bill
Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 671
Thanks Bill.
It looks like we have to use schema instead of DTD now.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does JAXB use DTD or Schema?