- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Sun, 19 Feb 2006 10:36:01 +0200 (EET)
- To: Bonnie Granat <bgranat@granatedit.com>
- cc: www-validator@w3.org
On Sun, 19 Feb 2006, Bonnie Granat wrote: > Why is the W3C Validator checking a URL that's on amazon.com for compliance > with XHTML? It isn't. As a markup validator, it only checks a document for conformance to generic (SGML or) XML syntax and to the document type definition specified. > Info Line 69 column 332: entity was defined here. > ...21349962/103-1286336-8001448?v=glance&n=283155">reviews </a>of this > book.</.. Please read the _error_ messages before that (misleading) "info line". It is unfortunate that a common error now spawns a total of six messages and, by a corollary of Wiio's law (Communication fails, except by accident), people seem to concentrate on the least informative and most misleading of them. It does not seem to to help that the _first_ of the messages (a warning) explains the situation rather understandably and refers to the same explanation as the validator's FAQ, namely http://www.htmlhelp.com/tools/validator/problems.html#amp Simply replace, in the entire document, any occurrence of "&", inside quotation marks or elsewhere, by "&", unless an "&" is already part of an entity reference (like "<") or a character reference ("{") and meant to be understood that way. (I think the validator's FAQ should have a self-contained explanation that contains the same information as the WDG FAQ entry, in a more modern style. A reference to Netscape 3.x, historically interesting as it might be, does not make a document very convincing these days.) -- Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Sunday, 19 February 2006 08:36:09 UTC