- From: Jim Ley <jim@jibbering.com>
- Date: Fri, 3 Mar 2006 15:55:02 -0000
- To: <public-wai-ert@w3.org>
Hi,
Hi group,
This is part of (one of) my actions from the face2 face, the various
pointers we are going to suggest for earl.
Not yet written up in rdfs, but here are my proposals for the outlines of
how the various pointers we were going to define look like:
<earl:lineCharLength>
<earl:LineCharLength>
<earl:line>10</earl:line>
<earl:char>10</earl:length>
<earl:length>10</earl:length>
</earl:LineCharLength>
</earl:lineCharLength>
lineCharLength is the line/character/length method, this points to a range
of the document starting at line 10, char 10 the length should be optional
and if it's not there it represents a single point.
<earl:byteOffset>100</earl:ByteOffset>
a byte offset is simply the byte offset.
<earl:snippet>
<earl:Snippet>
<earl:content rdf:parseType="Literal"
xmlns:x="chickens"><x:a>chickens</x:a></earl:content>
<earl:byteOffset>100</earl:ByteOffset>
</earl:Snippet>
</earl:snippet>
or
<earl:snippet>
<earl:Snippet>
<earl:content><![CDATA[ <div>chickens<img
src="chicken.gif"></div> ]]></earl:content>
<earl:byteOffset>15</earl:ByteOffset>
</earl:Snippet>
</earl:snippet>
The snippet type points to a snippet and then a byteOffset to the start of
the error within the snippet - you cannot point to a range with this.
<earl:xpath>//olist/item</earl:xpath>
<earl:xpointer rdf:resource='http://example.com/#id("toc")/li[3]'/>
xpath or xpointer point to the content using xpath or xpointer
<earl:htmlpointer>id("toc")/li[3]</earl:htmlpointer>
the htmlpointer is similar to the xpointer but defined over html - we may or
may not want this.
Cheers,
Jim.
Received on Friday, 3 March 2006 15:55:50 UTC