Re: more discussion on warnings in EARL

Carlos Iglesias schrieb:
>> earl:TestResult rdf:ID="result1"
>>   |-earl:validity: earl:pass
>>   |- dc:title: Media Type test
>>   |- dc:description: text/html is an allowed, but not 
>> recommended media type.
>>
>> earl:TestResult rdf:ID="resultN"
>>   |-earl:validity: earl:pass"
>>   |- dc:title: Content Format Support
>>   |- dc:description: The content format support is OK
> 
> The problem with this representation is that you have the "warning advise" at the atomic test level, not at the overall test outcome (the CONTENT_FORMAT_SUPPORT test)

So the validity for the testable CONTENT_FORMAT_SUPPORT_mediaTypeMarkup 
(sub-test) is earl:fail:

earl:Assertion rdf:ID="assertion1"
  |- earl:testable CONTENT_FORMAT_SUPPORT_mediaTypeMarkup
  |- earl:result
      |- earl:TestResult rdf:ID="result1"
          |- earl:validity: earl:fail
          |- earl:instance -> PointerCollection1
          |- dc:title: Media Type test
          |- dc:description: text/html is an allowed, but not 
recommended media type.

and the validity for the testable CONTENT_FORMAT_SUPPORT (super-test) is 
earl:pass:

earl:Assertion rdf:ID="assertionN"
  |- earl:testable CONTENT_FORMAT_SUPPORT
  |- earl:result
      |- earl:TestResult rdf:ID="resultN"
          |- earl:validity: earl:pass
          |- earl:instance -> PointerCollection1
          |- dc:title: Content Format Support
          |- dc:description: The content format support is OK
          |- earl:warning: text/html is an allowed, but not recommended 
media type.


Is that what you think?
-- 
Johannes Koch - Competence Center BIKA
Fraunhofer Institute for Applied Information Technology (FIT.LIFE)
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628    Fax: +49-2241-142065

Received on Monday, 18 December 2006 15:23:00 UTC