Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: Scripting DTD's

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 15 Nov 2003 10:44:45 +0000 (UTC)
To: Chris Moschini <cmoschini@myrealbox.com>
Cc: www-html@w3.org
Message-ID: <Pine.LNX.4.58.0311151041520.3009@dhalsim.dreamhost.com>

On Fri, 14 Nov 2003, Chris Moschini wrote:
>
> This *is* true of XML DTDs - if I provide a machine capable of
> understanding XML a DTD and XML, it immediately knows what to do with
> that XML.

Actually this is emphatically not the case. There is nothing in DTDs that
can say that a link is a link or a DL is a definition list. There is
nothing that can say that a class attribute is a class attribute or that a
<title> element should be used for the window title. And so forth. Indeed
DTDs aren't even very good at describing the intricate rules that govern
the syntax of HTML, and XML DTDs are even less expressive (they can't say
nested links are illegal, for example).

HTH.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
U+1047E                                         /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                          `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 15 November 2003 05:44:47 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.