Re: Validation confusion

On 20 Feb 2011, at 17:44, Oliver Snyder wrote:

> On my web site I have a form that uses JS to perform a math computation.  When validating I get the following error:
>  
> 	• Line 127, Column 43: character "<" is the first character of a delimiter but occurred as data
>   while(num.length - num.indexOf(".") - 1 < 

Welcome to the wonderful world of writing XHTML for HTML parsers. Dealing with this sort of problem is why I gave up on XHTML. If you want to continue down this path then see http://www.w3.org/TR/xhtml-media-types/#C_4

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

Received on Sunday, 20 February 2011 21:38:37 UTC