The success of Schema is mainly attributed to its flexibility. It can support ranges, data types and more than anything, the Schema itself is a well-formed XML.
There is no doubt that, one day Schema will replace the DTD. It is recommended that you have a plan to migrate to Schma from DTD. For now, atleast keep the Schema insync with the DTD.
Here are some links -
http://www.javaworld.com/jw-09-2000/jw-0908-validation.html http://www.w3schools.com/schema/default.asp Having said that, I would like to know if all parsers support Schema to the extend they support DTDs? Anyone?
------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java2 Platform.