From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonathan Yavner Newsgroups: gmane.emacs.devel Subject: Handling invalid HTML Date: Tue, 18 Oct 2005 11:05:55 -0400 Message-ID: <200510181105.56063.jyavner@member.fsf.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1129648142 1458 80.91.229.2 (18 Oct 2005 15:09:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2005 15:09:02 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 18 17:09:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ERt2d-0003Vu-RH for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2005 17:06:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERt2c-0006xY-SK for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2005 11:06:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ERt2R-0006xI-Ll for emacs-devel@gnu.org; Tue, 18 Oct 2005 11:06:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ERt2Q-0006x5-07 for emacs-devel@gnu.org; Tue, 18 Oct 2005 11:06:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERt2P-0006x2-SN for emacs-devel@gnu.org; Tue, 18 Oct 2005 11:06:01 -0400 Original-Received: from [204.127.198.39] (helo=rwcrmhc12.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ERt2P-0002u5-MS for emacs-devel@gnu.org; Tue, 18 Oct 2005 11:06:01 -0400 Original-Received: from [192.168.0.254] (pcp109868pcs.wchryh01.nj.comcast.net[68.45.81.14]) by comcast.net (rwcrmhc13) with ESMTP id <20051018150558015009mbcme>; Tue, 18 Oct 2005 15:06:00 +0000 Original-To: emacs-devel@gnu.org User-Agent: KMail/1.6.2 In-Reply-To: Content-Disposition: inline X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:44267 Archived-At: Juri Linkov writes: > 1. The valid string delimiter for HTML attribute values is the > quotation character. However, some HTML files on the Web use > apostrophes, e.g. > > The program that generates such non-standard meta headers is > identified as 'Microsoft DHTML Editing Control' (no surprise). http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2 "By default, SGML requires that all attribute values be delimited using either double quotation marks (ASCII decimal 34) or single quotation marks (ASCII decimal 39). ... In certain cases, authors may specify the value of an attribute without any quotation marks." In XHTML the no-marks case was eliminated, but the use of 'apostrophes' is still valid. There are many complaints one can make about Microsoft, but this isn't one of them. --Jonathan