Re: earl location pointer methods

Hi Jim,

Have you considered the namespace issue previously raised by Johannes in [1]?

[1] <http://lists.w3.org/Archives/Public/public-wai-ert/2005Oct/0040>

Please finalize the RDFS as soon as possible to bring closure to this action item.

Thanks,
  Shadi


Jim Ley wrote:
> 
> 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.
> 
> 

-- 
Shadi Abou-Zahra     Web Accessibility Specialist for Europe | 
Chair & Staff Contact for the Evaluation and Repair Tools WG | 
World Wide Web Consortium (W3C)           http://www.w3.org/ | 
Web Accessibility Initiative (WAI),   http://www.w3.org/WAI/ | 
WAI-TIES Project,                http://www.w3.org/WAI/TIES/ | 
Evaluation and Repair Tools WG,    http://www.w3.org/WAI/ER/ | 
2004, Route des Lucioles - 06560,  Sophia-Antipolis - France | 
Voice: +33(0)4 92 38 50 64          Fax: +33(0)4 92 38 78 22 | 

Received on Thursday, 15 June 2006 13:57:10 UTC