EARL Pointers

Hi,

Action Item:
- <http://www.w3.org/2006/10/03-tsdtf-minutes#action03>

TCDL 2.0 "locations Element":
- <http://bentoweb.org/refs/TCDL2.0/#edef-locations>

EARL 1.0 Schema "Instance Location":
- <http://www.w3.org/TR/2006/WD-EARL10-Schema-20060927/#instancelocation>

Description:
- The current Working Draft of EARL 1.0 Schema defines an "instance location" as the significant part of the test subject (eg. image element in an HTML document) that caused the result. Each "instance" is a collection of different *types* of pointers (xPointer, xPath, line/char/len, etc) that all point to the *same* location. Each result can have any number of the "instance", which of which describes a *different* location. This seems very analogous to the TCDL 2.0 definition of "locations" and "location" elements. The following is an example of how EARL 1.0 pointers could be used within TCDL 2.0.

Example:
  <locations expectedResult="fail">
    <location>
      <earl:xPointer>...</earl:xPointer>
      <earl:htmlPointer>...</earl:htmlPointer>
      <earl:lineCharLen>
        <earl:line>...</earl:line>
        <earl:char>...</earl:char>
        <earl:len>...</earl:len>
      </earl:lineCharLen>
      <!--// more pointers that point to the *same* location //-->
    </location>
    <location>
      <!--// new set of pointers to a *different* location //-->
    </location>
  </locations>

Conclusion:
- If TCDL 2.0 would allow elements from the EARL 1.0 namespace (which has not yet been finalized btw), then it would be possible to use the EARL pointers. We should make use of this in the Task Force whenever we publish test samples. This would allow tools that generate EARL to easily compare their results against the expected results of the test samples.


Regards,
  Shadi


-- 
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 Tuesday, 10 October 2006 07:16:37 UTC