• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DTD and Schema.

 
Eager Beaver
Ranch Hand
Posts: 187
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10065
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Eager Beaver
Ranch Hand
Posts: 187
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic