Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <149916666.oqrE2mbPsr@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Sun, 30 Sep 2012 13:46:06 +0200 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <1835562.mW7zK3R6x3@PointedEars.de> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 37 NNTP-Posting-Date: 30 Sep 2012 13:46:07 CEST NNTP-Posting-Host: 19bef6f8.newsspool1.arcor-online.net X-Trace: DXC=fcC;2m\=fHeeoCI^f\Y]Eaic==]BZ:afn4Fo<]lROoRankgeX?EC@@`JMNQ;63YamdDZm8W4\YJNlR=i2=[N6Y6j3Ok1kVHKAbmfjc\LXISHAl X-Complaints-To: usenet-abuse@arcor.de Xref: csiph.com comp.lang.javascript:16268 Jukka K. Korpela wrote: > 2012-09-30 13:22, Thomas 'PointedEars' Lahn wrote: >>> >> Nothing there supports your argument. What is stated there instead is >> that the `id' attribute is of*type* ID in XHTML 1.0, as opposed to HTML >> 4.01 where it is of type NAME > > [flame bait] But the HTML 4.01 Document Type Definitions, which are > all that matters regarding attribute type defined per the spec, Wrong. Because the DTDs are insufficient to define HTML, particularly with regard to the type of an attribute, the prose of the Specification is relevant as well. > say: > > "id ID #IMPLIED -- document-wide unique id -- I stand corrected here, though. However, contrary to João's statement, XHTML does _not_ mandate an `id' attribute instead of a `name' attribute, which was my point there (which was deliberately not quoted by the previous poster). What also is not correct is my statement that every HTML 4.01 element may have an `id' attribute. Although it is one of the core attributes, the BASE, HEAD, HTML, META, SCRIPT, STYLE, and TITLE elements do not have an `id' attribute declared in any variant of HTML 4.01. PointedEars -- Sometimes, what you learn is wrong. If those wrong ideas are close to the root of the knowledge tree you build on a particular subject, pruning the bad branches can sometimes cause the whole tree to collapse. -- Mike Duffy in cljs,