W3C home > Mailing lists > Public > public-wai-ert@w3.org > March 2006

earl location pointer methods

From: Jim Ley <jim@jibbering.com>
Date: Fri, 3 Mar 2006 15:55:02 -0000
Message-ID: <00fe01c63eda$d5633880$1beefe51@Snufkin>
To: <public-wai-ert@w3.org>


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:


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.


a byte offset is simply the byte offset.

  <earl:content rdf:parseType="Literal" 


  <earl:content><![CDATA[ <div>chickens<img 
src="chicken.gif"></div> ]]></earl:content>

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:xpointer rdf:resource='http://example.com/#id("toc")/li[3]'/>

xpath or xpointer point to the content using xpath or xpointer


the htmlpointer is similar to the xpointer but defined over html - we may or 
may not want this.


Received on Friday, 3 March 2006 15:55:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:53 UTC