W3C home > Mailing lists > Public > www-validator@w3.org > September 2007

Re: [VE][79] and [VE][61] error in js section

From: <aramclonk@yahoo.de>
Date: Mon, 17 Sep 2007 18:54:34 +0200 (CEST)
To: David Dorward <david@dorward.me.uk>
Cc: www-validator@w3.org
Message-ID: <206355.75953.qm@web25402.mail.ukl.yahoo.com>
Usually thats the way, but it does not work with regular expressions like this one:
str.replace(/</g, "&lt;");

David Dorward <david@dorward.me.uk> schrieb: 
On 17 Sep 2007, at 12:55,    
> Error [79]: "end tag for element "G" which is not open"
> and
> Error [61]: "character "," not allowed in end tag"
> in an js section with the following script:--

The validator says:
   If this error occurred in a script section of your document, you  
should probably read this FAQ entry ( http://validator.w3.org/docs/ 
help.html#faq-javascript ).

... and that explains what to do.

David Dorward

Yahoo! Clever: Stellen Sie Fragen und finden Sie Antworten. Teilen Sie Ihr Wissen. 
Received on Monday, 17 September 2007 16:54:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:30:56 UTC