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

Re: Dynamic Vs Static Html Validation

From: Pete Wilson <pete142@yahoo.com>
Date: Tue, 25 Oct 2011 14:09:15 -0700 (PDT)
Message-ID: <1319576955.8495.YahooMailNeo@web120003.mail.ne1.yahoo.com>
To: "Yaros, Al" <al.yaros@hp.com>
Cc: "www-validator@w3.org" <www-validator@w3.org>

-- Pete Wilson 

>From: David Dorward <david@dorward.me.uk>
>To: "Yaros, Al" <al.yaros@hp.com>
>Cc: "www-validator@w3.org" <www-validator@w3.org>
>Sent: Tuesday, October 25, 2011 11:26 AM
>Subject: Re: Dynamic Vs Static Html Validation
>On 25 Oct 2011, at 14:41, Yaros, Al wrote:
>I would like to know if I should - in terms of best practice - validate the dynamic Html or the Static one.
>>and what you are (Service) validating while using the URL as input.
>On Tuesday, October 25, 2011 11:26 AM David Dorward wrote:
>The validator validates the HTML it receives. It does not execute any client side code.
>Al raises an important question. When I validate my code, I just give the validator the URL of the CGI that delivers my html.
>But my client-side JavaScript modifies the html at onload time; it never occurred to me to validate that modified html. I haven't seen too many questions of the form "help! my html validates but my page still doesn't work." But since this question is asked, I think it's a good idea to validate that html. I can view->source of the modified stuff, then copy and paste it into the validator window. 
>Thanks, Al.
>-- Pete Wilson
Received on Tuesday, 25 October 2011 21:09:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:04 UTC