W3C home > Mailing lists > Public > www-validator@w3.org > August 2006

Re: Bug in the HTML Validator

From: David Dorward <david@dorward.me.uk>
Date: Mon, 7 Aug 2006 09:43:44 +0100
To: www-validator@w3.org
Message-ID: <20060807084344.GA8262@us-lot.org>

On Mon, Aug 07, 2006 at 12:44:26AM +0100, Jon Ribbens wrote:
> > No. Double quote characters are preferectly acceptable as data in
> > attribute values delimited with single quotes (if delimited with
> > double quotes then they need to be escaped, but that isn't the case
> > here).
> > 
> > Looks like you found a false positive bug in Tidy.
> Either that, or one of the cases where "valid" doesn't mean what
> people expect it to - i.e. HTML that conforms to the HTML specification.


  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). Single quote marks can be
  included within the attribute value when the value is delimited by
  double quote marks, and vice versa.

David Dorward                                      http://dorward.me.uk
Received on Monday, 7 August 2006 08:43:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:49 UTC