W3C home > Mailing lists > Public > www-validator@w3.org > May 2010

Re: eror [70] and [64]

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 3 May 2010 22:38:23 +0300
Message-ID: <65E1C0EC9BEA4C098FC215D0C856F2F6@JukanPC>
To: Mehmet ĘPEK <mehipek@gmail.com>, <www-validator@w3.org>
Mehmet ĘPEK wrote:

> Validating http://www.karakecili-asireti.com/anasayfa.php
> Error [70]: "end tag for X omitted, but OMITTAG NO was specified"

At present, the validator does not report any error when that document is 
validated, though it issues dozens of warnings.

You probably changed the document content after reporting this issue.

Anyway, both the error message you saw and many if not all of the warnings 
are caused by the presence of "<" and "&" as such within script elements.

By XHTML rules, "<" and "&" are markup-significant inside script elements. 
There are various workarounds to this, but the one that is by far simplest 
is to put your JavaScript code in an external file and include it via 
<script type="text/javascript" src="..."></script>

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 
Received on Monday, 3 May 2010 19:39:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:40 GMT