aspose file tools*
The moose likes XML and Related Technologies and the fly likes DTD and Schema. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "DTD and Schema." Watch "DTD and Schema." New topic
Author

DTD and Schema.

Eager Beaver
Ranch Hand

Joined: Feb 26, 2001
Posts: 187
Hi,
As I understand DTDs are used with text and as such do not have mechanism for defining the datatypes of elements. Schemas,on the other hand,provide means of specifying element content in terms of datatypes.
I would like to know if there is any deeply significant difference other than that cited above. Apparently both serve the same purpose of validating XML docs.
thanks,
-EB.

[This message has been edited by Eager Beaver (edited June 05, 2001).]
Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065
HTML is turned off in this forum and I couldn't find another way to post a small table, but FTP it. Enjoy here.
there are two good articles about DTD/Shema comparison:
Comparing W3C XML Schemas and Document Type Definitions http://www-106.ibm.com/developerworks/xml/library/x-matters7.html
and
Comparative Analysis of Six XML Schema Languages, http://www.cobase.cs.ucla.edu/tech-docs/dongwon/ucla-200008.html
(one of those six XML Schema Languages happened to be DTD )
Also, Eager Beaver, it�s nice to see you here but in this forum you should use your real name, or at least, something which looks like a real name. Of course, this doesn't mean we do not like you!


Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
Eager Beaver
Ranch Hand

Joined: Feb 26, 2001
Posts: 187
Hey MAP,
Thanks for the reply and it was nice to know that you remember me!! I shall be careful enough to use my real name in my next post here. See if you can figure that out.
-EB.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DTD and Schema.