Fixing dc:location issue with earl:Locator class

Hi,

As CarlosI raised in a previous mail [1], the dc:location property is not really defined by DC. We need to define an equivalent earl:location to describe a URI location.

At the same time, we agreed to develop an earl:Locator class that describe the occurrence of the result within the test subject. This class is to be a stub for several types of pointers such as XPointer, XPath, line/column numbers, byte offset, etc.

It occurs to me that this earl:Locator class should also have an earl:URI property. This would allow us to reuse the Locator to describe the test subject itself. Here an example:

<earl:Assertion rdf:ID="someID">
  <earl:subject>
    <earl:location>
      <!--// this is the location of the subject //-->
      <earl:URI rdf:resource="http://example.org" />
    </earl:location>
    <!--// other earl:subject properties //-->
  </earl:subject>
  <earl:result>
    <earl:location>
      <!--// this is the location of the result //-->
      <earl:line>23</earl:line>
      <earl:column>5</earl:column>
      <!--// more pointers if available //-->
    </earl:location>
    <!--// other earl:result properties //-->
  </earl:result>
  <!--// rest of the earl:assertion properties //-->
</earl:Assertion>

Thinking even further, the proposed earl:range/earl:scope (we should find a good name for this!) could be a further value type for the earl:Locator class.

Any issues with this approach?

Regards,
  Shadi
[1] <http://lists.w3.org/Archives/Public/public-wai-ert/2006Jan/0025>


-- 
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 Friday, 17 February 2006 08:53:51 UTC