- From: Robert E. Menteer II <reetnem@bigfoot.com>
- Date: Tue, 11 Sep 2001 13:32:04 -0400
- To: www-validator@w3.org
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<HTML>
<Head>
<Title>Invalid page</Title>
<Script Type="SomeScriptingLanguageThatTheValidatorShouldntCareAbout">
<!--
Note that this is valid code for
SomeScriptingLanguageThatTheValidatorShouldntCareAbout
and it just happens to contain things that looks like </a> tag but
are
treated by the script laungage as something else. Note that this
</code>
is inclosed not only in the open and close <Script> tags but also
multi
line comment tags.
One of two things should be happening here, either the <Script> tag
is
special or it is not! If it is special then it's entire contents
should
be ignored by the validator. If it is not special then the multi-line
comment should be treated as </a> comment!
What is happening is the validator is parsing the multi-line comment
and seeing these so-called tags and flaging them as errors. Note I'm
not
saying the validator should understand the syntax of
SomeScriptingLanguageThatTheValidatorShouldntCareAbout, but rather
there
should be some method to tell it to ignore the script.
// -->
</Script>
</Head>
<Body>
<P>
This page does not validate!
</Body>
</HTML>
Received on Tuesday, 11 September 2001 13:32:04 UTC