Connecting Tech Pros Worldwide Forums | Help | Site Map

Re: "Access is denied" in IE on node.focus()

Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
#1: Oct 2 '08
sasuke wrote:
Quote:
Eric B. Bednarz wrote:
Quote:
>Fair question, I should have said mainstream user agents (before Mosaic
>there was a browser with support for inline graphics, scripting and
>stylesheets; no web developer I know in real life knows that :).
>>
>Here we go…
>>
><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
Missing system identifier forces a catalog lookup, see below.
Quote:
Quote:
><title/foo/
Equivalent to

<title>foo</title>

Cf. `<meta ... />' being invalid in HTML.

(The start tag of the `html' element, and the start and end tags of the
`head' element may be *O*mitted.)
Quote:
Quote:
><ul>
(The start tag of the `body' element may be *O*mitted.)
Quote:
Quote:
><li>asd
(The end tag of the `li' element may be *O*mitted.)
Quote:
Quote:
><>bar</>
Equivalent to

<li>bar</li>
Quote:
Quote:
></>
Equivalent to

</ul>

The end tag of the `body' and `html` elements may be *O*mitted.
Quote:
Quote:
>No, we don't have a winner here.
>
Truly amazing; it passes the W3C validator with flying colors!
There is nothing amazing about that; 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. Which makes me
wonder what it would say about too long an attribute value.


X-Post & F'up2 ciwah, this is off-topic here.

PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann

Eric B. Bednarz
Guest
 
Posts: n/a
#2: Oct 2 '08

re: Re: "Access is denied" in IE on node.focus()


Thomas 'PointedEars' Lahn <PointedEars@web.dewrites:
Quote:
Quote:
Quote:
>><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
Quote:
Missing system identifier forces a catalog lookup, see below.
I don’t really know what you are trying to say.

Usually the idea is to look up the FPI in the catalog and use the the
system identifier as last resort. Well, if your root element is not
declared to be ‘html’. See

<http://validator.w3.org/sgml-lib/sgml.soc>
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?

--
||| hexadecimal EBB
o-o decimal 3771
--oOo--( )--oOo-- octal 7273
205 goodbye binary 111010111011
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
#3: Oct 3 '08

re: Re: "Access is denied" in IE on node.focus()


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
Closed Thread


Similar HTML / CSS bytes