- From: James Bromberger <james@publishing.uwa.edu.au>
- Date: Wed, 16 Jun 1999 22:41:15 -0400 (EDT)
- To: "'www-validator@w3.org'" <www-validator@w3.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everyone.
Is it just me, or doed the Validator (validator.w3.org) seem to try to
validate JavaScript despite the JavaScript being within HTML comments?
Ie, with:
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
document.write("<P>" + desc + "</P>")
// -->
</SCRIPT>
The validator highlights the closing tag and says:
"end tag for element "P" which is not open "
This is obviously not the case - the P element is opened and closed
immediately in the write method.
Regardless, I don't want HTML validation on JavaScript! Surely getting
the validator to ignore everything up to the closing comment delimeter
would be correct.
Could you please reply to me directly as I am off-list.
Many thanks,
- --
James Bromberger
UWA Campus Wide Information Systems Officer (UWA Webmaster)
Work Ph: +61-8-9380-3688 http://www.ucc.gu.uwa.edu.au/~james/
Work Fax: +61-8-9380-1162 Private Mobile: +61-417-772-xxx
AU Nic: JB84-AU James.Bromberger@uwa.edu.au
- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GED/J d- s-: a-- C+++ ULOU++++ P+++ L++! EW+++ N++
!o !kw !O M+ !V PS+ PE+ Y+ PGP++ t+@ 5++ X+ R- tv+
b+ DI++++ D+ Ge++- h* r++ y?
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.0.2i
Comment: http://www.ucc.gu.uwa.edu.au/~james/
iQA/AwUBN2fvqgx4pH6kw0jXEQJp1QCgmTmgXqKCmLIIGJDw28PbJPMdbGAAmwWb
YdxqBta9r0t1IAI4wNbEWKxl
=pv0h
-----END PGP SIGNATURE-----
Received on Thursday, 17 June 1999 01:38:43 UTC