W3C home > Mailing lists > Public > public-qa-dev@w3.org > August 2005

Re: Ecto and Validator

From: olivier Thereaux <ot@w3.org>
Date: Tue, 16 Aug 2005 11:20:40 +0900
Message-Id: <2fc6a869b0b839e53d547a56c6cb2f81@w3.org>
Cc: Karl Dubost <karl@w3.org>
To: QA Dev <public-qa-dev@w3.org>


On Aug 7, 2005, at 8:09, Bjoern Hoehrmann wrote:
>> [[[
>> Last, but maybe not least, I have taken the “Validate HTML” script
>> and embedded it into ecto.
>> ]]] - http://ecto.kung-foo.tv/archives/001445.php
>
> Do you have any details about the implementation? Is it a script that
> calls the online validator.w3.org?

I've had a look at the script (it's embedded in the tool, but the 
"original" perl script is still bundled). It's basically making a (LWP) 
request to the validator, asking for the XML output, and "translating" 
that back to some kind of HTML. XML output, hence no message 
explanations, hence Adriaan's comment:
[[
>> but be aware that the warning messages from W3C may be cryptic.
]] - http://ecto.kung-foo.tv/archives/001445.php

Too bad he chose not to just get the HTML output and display that, and 
instead chose to use the rather crippled, unstable and unsupported xml 
output, but that's understandable, he probably wanted HIS output 
without having to work with a real XSLT. I guess he could still benefit 
from the additional error message explanations by plugging  
share/templates/en_US/error_messages.cfg into his script somehow.

I'll send him an e-mail.
-- 
olivier
Received on Tuesday, 16 August 2005 02:20:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 19 August 2010 18:12:45 GMT