- From: olivier Thereaux <ot@w3.org>
- Date: Tue, 31 Oct 2006 10:10:46 +0900
- To: Sean B.Palmer <sean@miscoranda.com>
- Cc: =?ISO-8859-1?Q? "David_H=E5s=E4ther" ?= <hasather@gmail.com>, www-validator@w3.org
Hi Sean, David, all On Oct 30, 2006, at 23:40 , Sean B. Palmer wrote: > Add ";output=xml" to the URI. > > Note that the output=html headers are generated by: > X-W3C-Validator-Errors: <TMPL_VAR NAME="valid_errors_num"></TMPL_IF> > > Whereas the output=xml headers are generated by: > X-W3C-Validator-Errors: <TMPL_VAR NAME="number_of_errors"> Right, that's a bug. > Indeed, this is > even more ironic given this message from earlier today on www-archive: > > [[[ > If the API is overkill for you, then here's a hint: > use > $response->header('X-W3C-Validator-Status') > and > $response->header('X-W3C-Validator-Errors') > . > At least these aren't too likely to change, as far as I can tell. > ]]] - http://lists.w3.org/Archives/Public/www-archive/2006Oct/0022 I think that's probably a record for how fast one of my comments comes back to bite me. :) I could argue that "hey, as long as it hasn't been documented changes don't count!" but honestly, the headers feature should be documented, fixed, and never changed again. I'll do that. Expect a 0.7.4 sometime next week. -- olivier
Received on Tuesday, 31 October 2006 01:10:53 UTC