Eric B. Bednarz wrote:
Quote:
Thomas 'PointedEars' Lahn <PointedEars@web.dewrites:
Quote:
Quote:
>>><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
>Missing system identifier forces a catalog lookup, see below.
>
I don’t really know what you are trying to say.
See <http://www.w3.org/TR/REC-html40/struct/global.html#h-7.2(final proper
paragraph), then below.
Quote:
Usually the idea is to look up the FPI in the catalog and use the the
system identifier as last resort.
I was talking about a *missing* system identifier that forces a catalog
lookup (using the [remaining] *public* identifier as the key, of course.)
Quote:
Well, if your root element is not declared to be ‘html’.
No, quite obviously, first public identifiers are tested; if and only if
that fails, use the system identifier; if and only if that fails and the
root element of the document is `html', a basic DTD is being validated against.
Quote:
See
>
<http://validator.w3.org/sgml-lib/sgml.soc>
There is exactly what I pointed out.
Quote:
Quote:
>[…] the W3C Validator obviously validates against the SGML declaration
>and the DTD of the selected/detected markup language according to its
>catalog of public identifiers.
>
Erm, yes. So?
So, contrary to what "sasuke" said, it is not amazing at all that this
peculiar example of yours passes Validation. (Proper quoting on your part
would have revealed my meaning.)
PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee