EARL feedback

Based on some questions from the EARL validator project creator:

* Example 3:

<earl:Assertion rdf:ID="#assertion">

Should be <earl:Assertion rdf:ID="assertion">? (without #)

* Example 8:

<dc:description xml:lang="en">Test 282 of the HTML test suite</dc:title>

Sould be <dc:description>...</dc:description>

* Example 10:

<earl:result rdf:ID="result">
...
</earl:result>

Sould be?

<earl:TestResult rdf:ID="result">
...
</earl:TestResult>

* Example 12:

  ...
  <earl:xPath>
    <earl:expression rdf:datatype="http://www.w3.org/2001/XMLSchema#string">@@@TBD</earl:expression>  
  </earl:xPath>
  ...

Should be?

  ...
  <earl:xPath>
    <earl:XPathPointer>
      <earl:expression rdf:datatype="http://www.w3.org/2001/XMLSchema#string">@@@TBD</earl:expression>  
    </earl:XPathPointer>
  </earl:xPath>
  ...

* Example 13

<earl:subject>
  <earl:Software rdf:about="#tool">
    <dc:date rdf:datatype="http://www.w3.org/2001/XMLSchema#gDate">2005-06-25</dc:date> 
    <dct:isPartOf rdf:resource="http://example.org/tools/"/>
    <dct:hasPart rdf:resource="http://example.org/tools/cool/#module-1"/>
  </earl:Software>
</earl:subject>

Is confusing as its an "incomplete" snippet (not valid itself)

Should we change it for?

...
<earl:subject>
  <earl:Software rdf:about="#tool">
    <dc:date rdf:datatype="http://www.w3.org/2001/XMLSchema#gDate">2005-06-25</dc:date> 
    <dct:isPartOf rdf:resource="http://example.org/tools/"/>
    <dct:hasPart rdf:resource="http://example.org/tools/cool/#module-1"/>
  </earl:Software>
</earl:subject>
...

Or?

<earl:Assertion rdf:ID="assertion_1">
  <earl:assertedBy rdf:nodeID="assertor_01" />
  <earl:subject>
    <earl:Software rdf:about="#tool">
      <dc:date rdf:datatype="http://www.w3.org/2001/XMLSchema#gDate">2005-06-25</dc:date> 
      <dct:isPartOf rdf:resource="http://example.org/tools/"/>
      <dct:hasPart rdf:resource="http://example.org/tools/cool/#module-1"/>
    </earl:Software>
  </earl:subject>
  <earl:testcase rdf:resource="http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict" />
  <earl:result rdf:resource="#error_1" />
</earl:Assertion>

Regards,
 CI.
 
--------------------------------------

Carlos Iglesias

CTIC Foundation
Science and Technology Park of Gijón
33203 - Gijón, Asturias, Spain 

phone: +34 984291212
fax: +34 984390612
email: carlos.iglesias@fundacionctic.org
URL: http://www.fundacionctic.org

Received on Wednesday, 15 November 2006 12:04:46 UTC