W3C home > Mailing lists > Public > www-validator@w3.org > August 2012

How To Validate a HTML file using W3c API

From: Harshit Oberoi <oberoi.harshit@gmail.com>
Date: Wed, 22 Aug 2012 15:23:22 +0530
Message-ID: <CAKQcKjozu2XY9umUD+PF-Aon8TTWkwmxbvGV8FFq+yVwXT6zfQ@mail.gmail.com>
To: www-validator@w3.org
Hi,

I was trying to validate my HTM files for HTML5 Validation , but there was
no method exposed for it.

Found an url :
http://validator.w3.org/check?uri=http://www.example.com/&doctype=HTML5&output=soap12
This Returns an xml file containg the HTML5 errors and warnings.

simmilarly to update file an uploaded_file parameter is there , but
implementing this in above url :
http://validator.w3.org/check?uploaded_file=C:\Users\harshit\Desktop\xyz\10Most.htm&doctype=HTML5&output=soap12

This Url is just opening the w3c website.

Is there any way to upload a file and get the same xml file as as output.

Waiting for a response

Thanks
 Harshit
Received on Wednesday, 22 August 2012 13:42:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 August 2012 13:42:27 GMT