W3C home > Mailing lists > Public > www-validator-css@w3.org > June 2008

Re: AW: Report page in validation service is not well-formed XML when the validation was successful

From: olivier Thereaux <ot@w3.org>
Date: Tue, 3 Jun 2008 15:34:13 -0400
Cc: "Yves Lafon" <ylafon@w3.org>, "W3C CSS Validator ML" <www-validator-css@w3.org>
Message-Id: <47DFDE22-ACA6-4B56-A1C5-D50A918B20E9@w3.org>
To: "Svensson, Lars" <l.svensson@d-nb.de>


On 3-Jun-08, at 3:31 PM, Svensson, Lars wrote:
>> If you're going to parse validation results as XML, I would strongly
>> recommend, instead of screen-scraping the HTML output, to use:
>> http://jigsaw.w3.org/css-validator/api.html
>
> I always thought that one of the rationales for XHTML was that it  
> should
> be possible to scrape the documents using an XML parser, thus
> eliminating the need for multiple response formats just to get an XML
> version for machine processing. I'll check out the SOAP version,  
> though.

You are right, XHTML can be parsed and processed, but we can not  
guarantee that the XHTML output will not change over time. The API, on  
the other hand, will change - if at all - in a compatible manner,  
changes will be announced and reviewed, etc.

-- 
olivier
Received on Tuesday, 3 June 2008 19:34:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:20 GMT