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.
Received on Tuesday, 16 August 2005 02:20:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:36:25 UTC