W3C home > Mailing lists > Public > w3c-wai-er-ig@w3.org > February 2002

Re: EARL in Page Valet

From: Sean B. Palmer <sean@mysterylights.com>
Date: Sun, 3 Feb 2002 02:27:07 -0000
Message-ID: <00d301c1ac5a$4a2298e0$73bf0150@localhost>
To: "Nick Kew" <nick@webthing.com>
Cc: <w3c-wai-er-ig@w3.org>
Good stuff, Nick.

>     * Validation messages - use a fragment to identify line and
> column http://foo.bar/docname.html#(16,37)

I'd advise something like:-

<rdf:subject rdf:parseType="Resource">
   <earl:reprOf rdf:resource="http://www.google.com/"/>
   <earl:date>2002-02-03</earl:date>
   <valet:line>1</valet:line>
   <valet:column>0</valet:column>
</rdf:subject>

Hmm... although, in fact, what you're pointing at a character position
in an element or attribute in the target document that is being
evaluated.

>       I'm aiming for a "fuzzy Xpointer" (as discussed in IRC),
>       but there's some significant hacking to visval required first
> http://foo.bar/docname.html#e12 (now)
> http://foo.bar/docname.html#1/4/1 (goal)

now:-

<rdf:subject rdf:parseType="Resource">
   <earl:reprOf rdf:resource="http://foo.bar/docname.html"/>
   <earl:date>2002-02-03</earl:date>
   <valet:id>e12</valet:id>
</rdf:subject>

goal:-

<rdf:subject rdf:parseType="Resource">
   <earl:reprOf rdf:resource="http://foo.bar/docname.html"/>
   <earl:date>2002-02-03</earl:date>
   <valet:htmlPointer>1/4/1</valet:htmlPointer>
</rdf:subject>

> (2) testObjects for validation messages are a placeholder.  I
>     don't know what really makes sense

I suspect that the test case will be the (X)HTML specification for the
version of the HTML being validated. However, it will only be rated
against some small subset of the specification, so it's a tricky one.

--
Kindest Regards,
Sean B. Palmer
@prefix : <http://purl.org/net/swn#> .
:Sean :homepage <http://purl.org/net/sbp/> .
Received on Saturday, 2 February 2002 21:27:57 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 9 June 2005 12:10:40 GMT