W3C home > Mailing lists > Public > www-validator@w3.org > February 2011

Re: Validation confusion

From: David Dorward <david@dorward.me.uk>
Date: Sun, 20 Feb 2011 21:38:02 +0000
Cc: <www-validator@w3.org>
Message-Id: <EEDF7A12-0AE9-428D-B57C-D7AF18C3345B@dorward.me.uk>
To: Oliver Snyder <ohsnyder@live.com>

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 GMT

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