Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Root element specified by DTD ?

From: "Jukka K. Korpela" <jkorpela@--.---.-->
To: NULL
Date: 6/3/2006 8:46:00 AM

Joe Kesselman <keshlam-nospam@c...> scripsit:

> In other words:

In future, please quote or paraphrase the message that you are commenting 
on.

>As always, a DTD -- or a schema -- is only a partial
> description of what makes a document correct and meaningful.

It depends on. There's no law that requires additional rules, though pure 
syntax as such _is_ somewhat boring.

> Think of
> these as "higher-level syntax checking"; the application is always
> going to impose semantic constraints as well.

What's "higher-level" here? Anyway, in the issue discussed in this thread, 
it is the additional _syntactic_ constraints that imply that a certain kind 
of document is not an HTML document. There's nothing semantic in the 
requirement that a document contain a specific DOCTYPE declaration or that a 
document contain a <title> element. (Requiring that the <title> element 
contain text that is a descriptive name for the document, especially for use 
as a title for it in different contexts, would be a semantic requirement. 
Whether HTML specifications make such a requirement is debatable; the prose 
in the specs is a mixture of normative-looking prose, comments, hints, 
wishful thinking, etc.)

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent