W3C home > Mailing lists > Public > www-validator@w3.org > July 2018

Re: Validator SOAP output

From: Michael[tm] Smith <mike@w3.org>
Date: Sun, 15 Jul 2018 10:54:00 +0900
To: Jens Oliver Meiert <jens@meiert.com>
Cc: W3C WWW Validator <www-validator@w3.org>
Message-ID: <20180715015400.GI28957@sideshowbarker.net>
Hi Jens,

Jens Oliver Meiert <jens@meiert.com>, 2018-07-12 20:48 +0200:
> Archived-At: <https://www.w3.org/mid/CAJ0g8QSU=Yg8hxng2wBmudde7jxSUXkx9VUMq+ui3oY0ZXTyGA@mail.gmail.com>
> 
> Hi validator team—
> 
> if I’m not overlooking something then for a few weeks by now, the SOAP
> interface formerly available at
> https://validator.w3.org/check?uri=http://example.com/&charset=%28detect+automatically%29&output=soap12
> is gone. Do you know more, is this by accident, intended,—and could
> you bring it back?

It’s intentional if you give the legacy markup validator a document that
has a non-obsolete doctype — because in that case the document is just
handed off to the current HTML checker at https://validator.w3.org/nu/. And
the backend of https://validator.w3.org/nu/ very intentionally doesn’t
support that legacy SOAP API/format of the old validator.

Instead, the HTML Checker has its own HTTP interface/API, as documented at
https://github.com/validator/validator/wiki/Service-%C2%BB-HTTP-interface, and
as documented at https://github.com/validator/validator/wiki/Output-%C2%BB-XML,
it has its own XML output format — and even better it has a JSON output format,
documented at https://github.com/validator/validator/wiki/Output-%C2%BB-JSON

If you still want to use the legacy markup validator’s obsolete and no-
longer-maintained SOAP interface, you can by manually forcing it to check
against an obsolete HTML version; e.g.:

https://validator.w3.org/check?uri=http%3A%2F%2Fexample.com&doctype=XHTML+1.0+Strict&output=soap12

But if you want to check documents against the current HTML spec requirements,
then you need to use the current HTML checker at https://validator.w3.org/nu/
and the actively-maintained API that it provides.

  –Mike

-- 
Michael[tm] Smith https://people.w3.org/mike

Received on Sunday, 15 July 2018 01:54:27 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 15 July 2018 01:54:27 UTC