W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > July to September 2005

Re: Balancing the myth-busting.

From: Johannes Koch <koch@w3development.de>
Date: Tue, 09 Aug 2005 23:59:11 +0200
Message-ID: <42F9272F.7050902@w3development.de>
To: w3c-wai-gl@w3.org

Gez Lemon wrote:
> Fail it then. I'm not defending that script; far from it. In terms of
> standards, it's as far away as you could get. I respect Bobby van der
> Sluis, and appreciate anyone who contributes so much of their free
> time to make things work, but I dislike that script. It won't work
> with application/xhtml+xml because it's not standards compliant. Being
> flagged as not standards compliant by a validator is a good thing in
> my opinion.

Validity is only a subset of standards compliance. The script _is_ not 
standards-compliant, because the HTML 4.01 spec says 
(<http://www.w3.org/TR/html401/interact/scripts.html#h-18.2.4>),

   "HTML documents are constrained to conform to the HTML DTD both before
   and after processing any SCRIPT elements."

Inserting invalid elements via scripting is an error according to this 
passage in the HTML spec.

> I strongly disagree. If you already have a document tree, what can be
> difficult about inserting nodes and attributes?

AFAIK, OpenSP, the software behind the markup validator, does not have a 
DOM parser, and so has no document tree to use for manipulation via DOM 
methods.

-- 
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)
Received on Tuesday, 9 August 2005 21:59:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:39 GMT