Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.42!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <3000820.SPkdTlGXAF@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Fri, 04 Nov 2011 11:05:41 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 8Bit Subject: Re: jQuery takes down the Guardian Newsgroups: comp.lang.javascript References: <32fd8b28-5e5b-4d8e-818b-49b12ccdac2b@a7g2000yqd.googlegroups.com> <5809e801-f3de-4455-990e-bb80b4635f5d@v5g2000vbh.googlegroups.com> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 62 NNTP-Posting-Date: 04 Nov 2011 11:05:43 CET NNTP-Posting-Host: 46ddd622.newsspool4.arcor-online.net X-Trace: DXC=]X0j:dZZ3gbPKPPVf;4hUj4IUK On 11/3/2011 5:30 PM, RobG wrote: >> However, the HTML disabled attribute doesn't have a value at all, its >> presence or absence changes the value of the related boolean DOM >> property (something that is maintained in HTML5[1]), which is what the >> document claimed to be). > > It all depends on the doctype, really. > HTML 4.01[0] and HTML 5[1] validate both the minimized and maximized > forms, so (psuedocode): > > * boolean > * boolean="" > * boolean="boolean" > > XHTML 1.0 XHTML in general. > only validates the maximized form[2], so (pseudocode): > > * boolean="boolean" The statement "$markup_language validates only …" does not make sense. A *validator* validates code supposedly written in $markup_language against the formal specification of $markup_language. Therefore, a proper expression would be "… is valid in $markup_language" or "$markup_language requires …". >> The authors of HTML5 seem to delight in confusion since they >> constantly refer to "attributes" in the context of both HTML >> attributes and DOM properties. > > Yes, the usage of "IDL attribute" as an alias for "DOM property" is > quite confusing upon first glance. It seems it's because "idl" is the > filetype in which these properties are defined as "attributes". No, the Object Management Group (OMG) Interface Definition Language (IDL), a C++-like interface description language which has been developed for CORBA, is the preferred form of specifying language-independent (W3C) DOM interfaces. The filename suffix (which you misname "filetype") is only evidence of that. > Here's a look at one: > > http://www.w3.org/TR/DOM-Level-2-HTML/idl/html2.idl > > Clear as mud, right? ;) It is very clear. Problems arise when one fails to differentiate between language-independent IDL attributes, properties that implement them in a specific programming language, and markup attributes of a specific related SGML-rooted markup language like HTML or XHTML. 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