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

Re: restful api wish

From: olivier Thereaux <ot@w3.org>
Date: Wed, 9 Jul 2008 15:55:54 -0400
Cc: www-validator-css@w3.org
Message-Id: <93CB39E9-DD78-4B07-9D45-65B9D3AC2E65@w3.org>
To: Kai Hendry <hendry@iki.fi>

Hello,

On 3-Jul-08, at 3:37 PM, Kai Hendry wrote:
> In terms of VIM (my editor), the error format I am looking for is:
>
> set errorformat=%f:%l:%m
>
> %f I generate, so just:
>       %l - line number
>       %m - error message
>
> Hence I think the text.properties could be as simple as:
>
>       $err.Line:$context_msg $error_msg
>       $warning.Line:#if ( $warning.Context ) $warning.Context #end
> $warning.WarningMessage
>
> Be good if the error output alias could be something short like 'vim'.

So you are suggesting a new text output, rather than modifying the  
existing text output? I guess that's feasible.

Is the output format you are suggesting compatible or equivalent to  
the GNU error output format? It seems like it would mostly need the  
addition of the document file name or URL at the beginning of each line.

-- 
olivier
Received on Wednesday, 9 July 2008 19:56:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:01:02 UTC