OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: DTD vs Schema



The short answer is that DTD's and XML Schemas are roughly equivalent in
their ability to define XML document structure; XML Schemas provide much
better validation capabilities for attribute values and data content.

For a brief (albeit somewhat dated) comparison, check:

http://www.cse.ucsc.edu/~douglas/proximl/node4.html


> -----Original Message-----
> From: Khamesra, SandeepX [mailto:sandeepx.khamesra@intel.com]
> Sent: Monday, May 21, 2001 1:12 PM
> To: 'Uche Ogbuji'; Bullard, Claude L (Len)
> Cc: xml-dev@lists.xml.org
> Subject: DTD vs Schema
> 
> 
> 
> I am new to the list so not sure if it is already been answered.. Just
> wondering how DTD is different from Schema. Secondly, when do 
> you check for
> a valid XML document. If my XML is coming from a known source 
> do you still
> check its grammer.. Is there any overhead of that.. 
> 
> 
> ------------------------------------------------------------------
> The xml-dev list is sponsored by XML.org, an initiative of OASIS
> <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: xml-dev-request@lists.xml.org
>