XML-Data: advantages over DTD syntax?

len bullard cbullard at hiwaay.net
Wed Oct 1 01:41:21 BST 1997


Rob McDougall wrote:
> 
> If I remember correctly, the advantages are listed in the spec.  The main
> advantage being that you can include the XML-Data definition within the XML
> file itself, so that you now can send a completely self-describing file
> that can be read by a single (XML) parser.
> 
> Rob
>

Umm... You can include an SGML Declaration, DTD and instance in a 
single file and it is a completely self-describing file read by a 
single parser.  I don't think that is the advantage of the Microsoft 
approach.  I think you can do it with a simpler parser; however, the 
tradeoff is a harder to read schema, so a single parser writer (or 
several) gain on a few hours of effort but the user of the schema 
loses.  If that *is* the tradeoff, it isn't much of a bargain.

len bullard
ips

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list