Re: problem validation

On 31 Jul 2007, at 10:04, mihai puscasu wrote:
> <script type="text/javascript">
>         for (i=3; i<= <?=$_SESSION['posturi']['nr_raspunsuri']; ?>;  
> i++)
>
>  Line 51, Column 16: XML Parsing Error: StartTag: invalid element  
> name. for (i=3; i<=nr; i++)
>

> i think you should do something with scripts between <script  
> type="text/javascript">
> this is an annoying error which is not an error!

It is a real error. See http://www.w3.org/TR/xhtml1/#h-4.8 and http:// 
www.webdevout.net/articles/beware-of-xhtml

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/

Received on Tuesday, 31 July 2007 12:36:21 UTC