W3C home > Mailing lists > Public > www-validator@w3.org > October 2004

Re: [VE][53] Error Message Feedback

From: Vincent Hallberg <vincent.hallberg@secret-agent.net>
Date: Mon, 25 Oct 2004 12:26:18 -0700
To: "David Dorward" <david@dorward.me.uk>, www-validator@w3.org
Message-ID: <WorldClient-F200410251226.AA26180041@secret-agent.net>
Ah I understand now.  I've read this info before but never really grocked 
it, "the markup declaration open delimiter("<!") and the comment open 
delimiter ("--"), but is permitted between the comment close delimiter 
("--") and the markup declaration close delimiter (">")."  Now it all makes 
sense, I'll have to relocate all that code into a .js file because any 
negative incrementations found in the code will pick up the "--" and try 
closing the comment.  The ">" is separate in that it closes the markup.  The 
thing that's confusing is that the ">" tag by itself does not try to close 
things, only when combined with a "--".  I don't particularly like the way 
this all works but I know now why it's happening and how to get around it so 
I can live with it.
 
Vince
 
 


-----Original Message-----
From: David Dorward <david@dorward.me.uk>
To: Vincent Hallberg <vincent.hallberg@secret-agent.net>
Cc: www-validator@w3.org
Date: Sat, 23 Oct 2004 01:49:03 +0100
Subject: Re: [VE][53] Error Message Feedback

> On Fri, 2004-10-22 at 15:46 -0700, Vincent Hallberg wrote:
> > > > for (a = opts.length; a > 0; --a) {
> > > You've ended your comment with that --
> > > http://www.w3.org/TR/html401/intro/sgmltut.html#h-3.2.4
> >  
> > Thank you for the pointer Paul but I think you misread my original
> > description above, "And ends like this on line 1241: // -->".
> 
> No, he hasn't. As Paul said, the actual bit of <!-- --> that delimits
> the comment is "--". So "--a" means "End of comment followed by the
> character 'a'".
Received on Monday, 25 October 2004 19:22:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:15 GMT