Re: EARL in Page Valet

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 UTC