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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML-Data: advantages over DTD syntax? (and some wishes)

[ Lists Home | Date Index | Thread Index ]
  • From: Peter Newcomb <peter@techno.com>
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 3 Oct 1997 18:15:37 -0400

[Liam Quin <liamquin@interlog.com> on Fri, 3 Oct 1997 17:38:17 -0400 (EDT)]
> On Fri, 3 Oct 1997, Martin Bryan wrote:
>> At 19:02 01/10/97 +0200, Jarle Stabell wrote:
>>> I think the DTDs-as-instances also benefits new users, why should they have
>>> to learn two syntaxes instead of one?

>> Because DTD have special rules associated with them, such as those relating
>> to case sensitivity, keywords, names, etc. One advantage of having a
>> different syntax is that it is easier to remember that these rules apply
>> when you are using that syntaz, but do not apply when entering XML coded data.

> Charles said that different sorts of information should have different
> syntaxes, but in the document a chapter title has the same syntax as an
> author's name, a date, an image... and these things may all have different
> consumers.

Don't forget that full SGML also includes ways of customizing syntax
for particular applications: SHORTREF.  Instance syntax is good
because you always _can_ use it; that doesn't necessarily mean that
it's the best syntax to use for any given purpose.  Short references
at least attempt to fill the void between one-syntax-fits-all and
different-syntaxes-for-different-things.

-peter

--
Peter Newcomb                           TechnoTeacher, Inc.
peter@petes-house.rochester.ny.us       peter@techno.com
http://www.petes-house.rochester.ny.us  http://www.techno.com

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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS