[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

Re: XML Schema Vs XML DTDs



On Tue, 4 May 2004, DW Emory wrote:

> XML Schemas were invented to enforce database schema requirements which 
> cannot be enforced by a DTD. This strongly suggests that, when developing 
> XML applications, best practice would dictate the use of an XML Schema 
> rather than a DTD, even if, at least initially, a DTD will suffice. 

It depends really whether you are writing a document or a data base. For 
documents, and Frame is mostly used to write documents I would think, 
there are better ways to feed data bases than through an authoring tool, a 
DTD makes perfect sense.

Besides, the last time I checked, W3C Schemas did not support entities, 
which are quite helpful for XML documents (as opposed to data-oriented 
XML). 

And you'd better not get people started on why RelaxNG is better than W3C
Schemas...  ;--)

--
Michel Rodriguez
Perl & XML
http://www.xmltwig.com

** To unsubscribe, send a message to majordomo@xxxxxxxxx **
** with "unsubscribe framers" (no quotes) in the body.   **