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

problem validation

From: mihai puscasu <herodesh@gmail.com>
Date: Tue, 31 Jul 2007 12:04:10 +0300
Message-ID: <16a13b810707310204k72d64949l9cc1b5aea16025aa@mail.gmail.com>
To: "www-validator@w3.org" <www-validator@w3.org>
I am Mihai Puscasu from Romania.
I find a problem that occurred with the java script codes.

this is the javascript code:

<script type="text/javascript">
        for (i=3; i<= <?=$_SESSION['posturi']['nr_raspunsuri']; ?>; i++)

at the validation i get this error which is not actually an error:

   1. [image: Error] *Line 51, Column 16*: XML Parsing Error: StartTag:
   invalid element name.

       for (i=3; i<*=*nr; i++)

   2. [image: Error] *Line 53, Column 19*: XML Parsing Error: StartTag:
   invalid element name.

       for (k=++nr; k<*=*10; k++)

i think you should do something with scripts between <script
this is an annoying error which is not an error!

Thanks for your time!

www.bangyourbrain.com - Bangyourbrain - The metal webzie.
Received on Tuesday, 31 July 2007 12:19:33 UTC

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