- From: Phil Hobson <ph2005@hcidata.com>
- Date: Fri, 01 Apr 2005 13:53:41 +0000
- To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
- Cc: www-validator@w3.org
Hi, To clarify....... The error lines in question were <!-- following removed and replaced after an email from "*******" <******* at tinyonline.co.uk> 18-may 2001 --? The track goes under the A6, after which the sunken building which housed the winding gear can be seen. --> Which I think answers some of your queries. Best regards, Phil. Jukka K. Korpela writes: > On Wed, 30 Mar 2005, Phil Hobson wrote: > >> Line 181, column 127: invalid comment declaration: found >> character "?" outside comment but inside comment declaration >> >> ....n at tinyonline.co.uk> 18-may 2001 --? > > It's not obvious what happened (in the absence of a URL), > but presumably there was a construct <!-- somewhere so that > we are inside a comment declaration, and a comment was terminated > by the "--", and then the following "?" is indeed an error. > >> "A common error is to include a string of hyphens ("---") within >> a comment. Authors should avoid putting two or more adjacent >> hyphens inside comments." > > It is not _possible_ to include "---" or even "--" within a comment, > since "--" is a comment terminator. Inside a comment declaration, > on the other hand, "---" is correct in suitable circumstances, if > immediately followed by yet another "-": > <!--foo----bar--> > > My suggestion of the wording: > "A common error is to try to use two or more adjacent hyphens > in a comment text, as in <!-- hello -- there! -->. In this case, > the second "--" terminates a comment." > > -- > Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/ > -- Phil Hobson Technical Director HCI Data Limited - http://www.hcidata.com
Received on Friday, 1 April 2005 13:54:18 UTC