W3C home > Mailing lists > Public > www-validator@w3.org > March 2009

Re: Validate pages while navigating

From: Justin M. <m.just1@free.fr>
Date: Sun, 01 Mar 2009 21:51:22 +0100
Message-ID: <49AAF54A.80500@free.fr>
To: David Dorward <david@dorward.me.uk>
CC: www-validator@w3.org
Actually I also thought about accessing the page from the original 
domain, but just to output the source given to the validator, with 
modifications of references to the absolute address "http://...". In 
that case, there are not any problem of security, but it needs a 
post-treatment to work well.
For example you start the validator with navigation enabled, all 
references are modified to point to the original domain (absolute 
reference) and all links will point to the validator again (http://.... 
validator.xxx?navigation=enabled&url=******). In fact it is not a frame 
that is supposed to be used, but simply a div element. The next page 
will be treated the same way, and navigation can continue.

Anyway, the plugin validator is also really interested.


David Dorward a écrit :
> Justin M. wrote:
>   
>> I thought about a Google-like presentation when we search for an
>> image : a frame at the top, containning a summary of the validate
>> result, and the page itself (or the contrary, because it may be
>> easier to include the source page in the validator than to include
>> the validator in the client site).
>>     
>
> This is impossible to do in the normal context of the WWW, since
> security prevents a script running in one frame from accessing the URL
> of a page in another frame if that page exists on a different domain.
>
> It is possible with browser plugins, but if you are going to start down
> that route, you might as well build a validator into the plugin itself,
> since that would be more efficient.
>
> http://users.skynet.be/mgueury/mozilla/ for example.
>
> (Please direct responses to the www-validator mailing list, and not
> directly to me)
>
>   
Received on Sunday, 1 March 2009 20:52:11 GMT

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