Re: [VE][53] Error Message Feedback

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 UTC