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

Re: Producing an XML report from the validator

From: Terje Bless <link@tss.no>
Date: Thu, 14 Jun 2001 01:14:18 +0200
To: Christian Smith <csmith@barebones.com>
cc: Nick Kew <nick@webthing.com>, Esmond Walshe <esmond.walshe@eeng.dcu.ie>, www-validator@w3.org
Message-ID: <20010614011532-b01010701-4040f9da@192.168.1.6>
On 13.06.01 at 13:58, Christian Smith <csmith@barebones.com> wrote:

>I don't particularly care what the exact format is, but the pieces of
>info that I would need in the report would be:
>
>entry type         (error, warning, note)

All three would be tagged as "error" to begin with I think. We don't
distinguish between them at the moment and I'm ambivalent about how, and
whether to, do so in the future.


>start offset   (the offset of the beginning of the error)
>end offset     (the offset of the end of the error)
>
>Note: These might be the same but would preferably specify a range.

We don't have a meaningfull "end offset", and I'm not quite sure what that
would be in any case?

>In any event the value should be the character offset from the beginning
>of the file.

Hmmm, it's possible to calculate, but it's a PITA to do. We operate on
characters from the beginning of the line (because that's what SP does).
Received on Wednesday, 13 June 2001 19:15:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:58 GMT