Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #7980

Re: jQuery takes down the Guardian

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> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
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> <j8v255$olk$1@dont-email.me> <afac1af0-1b98-4de4-b34b-f763df2411fb@h24g2000yqm.googlegroups.com> <j8vecn$9fl$1@dont-email.me>
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<Cl32<a4Fo<]lROoRa8kF<OcfhCOklY=Qggn==WoDZm8W4\YJNlUFDj8T]K0?cDmniOZG;K0k`G?A5jDSbgd
X-Complaints-To usenet-abuse@arcor.de
Xref x330-a1.tempe.blueboxinc.net comp.lang.javascript:7980

Followups directed to: comp.lang.javascript

Show key headers only | View raw


Matt McDonald wrote:

> 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

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

jQuery takes down the Guardian David Mark <dmark.cinsoft@gmail.com> - 2011-11-03 12:52 -0700
  Re: jQuery takes down the Guardian RobG <rgqld@iinet.net.au> - 2011-11-03 13:56 -0700
    Re: jQuery takes down the Guardian Matt McDonald <matt@fortybelow.ca> - 2011-11-03 15:47 -0600
      Re: jQuery takes down the Guardian Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-04 00:24 +0100
      Re: jQuery takes down the Guardian RobG <rgqld@iinet.net.au> - 2011-11-03 16:30 -0700
        Re: jQuery takes down the Guardian Matt McDonald <matt@fortybelow.ca> - 2011-11-03 19:16 -0600
          Re: jQuery takes down the Guardian Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-04 11:05 +0100
          Re: jQuery takes down the Guardian Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2011-11-04 13:25 +0100
            Re: jQuery takes down the Guardian Denis McMahon <denismfmcmahon@gmail.com> - 2011-11-04 15:33 +0000
    Re: jQuery takes down the Guardian "J.R." <groups_jr-1@yahoo.com.br> - 2011-11-03 22:42 -0200
  Re: jQuery takes down the Guardian Andrew Poulos <ap_prog@hotmail.com> - 2011-11-04 12:50 +1100
    Re: jQuery takes down the Guardian David Mark <dmark.cinsoft@gmail.com> - 2011-11-04 03:37 -0700
  Re: jQuery takes down the Guardian "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2011-11-05 07:36 -0700

csiph-web