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

Re: Validating one of my web pages

From: Otto Wyss <otto.wyss@orpatec.ch>
Date: Sat, 07 Jul 2007 11:25:07 +0200
Message-ID: <468F5BF3.7040900@orpatec.ch>
To: www-validator@w3.org

Michael Adams wrote:
> *** QUOTE ***
> When script or style data is the content of an element (SCRIPT and
> STYLE), the data begins immediately after the element start tag and ends
> at the first ETAGO ("</") delimiter followed by a name start character
> ([a-zA-Z]); note that this may not be the element's end tag. Authors
> should therefore escape "</" within the content. Escape mechanisms are
> specific to each scripting or style sheet language.
> The following script data incorrectly contains a "</" sequence...
> *** END QUOTE ***
No, the script contains an arbitrary character combination as a comment 
(within apostrophes "'").

> If it is illegal then your code is wrong. Period!
Well this discussion leads to nothing. So I'm not going to change my 
code whatever the validator says.

O. Wyss
Received on Saturday, 7 July 2007 09:25:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:52 UTC